Skip to content

preactor/SolarschiffGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolarschiffGame

Development configuration

Server

  1. Execute ./SolarschiffGame/Server/StartLocalServers.bat to start the local PHP and MySQL servers.

Productive Installation

Database installation

  1. Execute the script ./SolarschiffGame/Server/Database/Highscore.sql on the MySQL server to create the database and the highscore table

Webserver installation

  1. Open the file ./SolarschiffGame/Server/ServerScripts/Configuration.php
  2. Set the variable $environment to EnvironmentType::Production
  3. Set the variable $aesPasswordBytes to a random sequence of 32 bytes
  4. Add the (confidential) database login information in ConfidentialConfiguration.php
  5. Copy the PHP files from ./SolarschiffGame/Server/ServerScripts to the production server

Webclient building and deployment

  1. Open the file ./SolarschiffGame/Assets/_scripts/Highscore/Configuration.cs
  2. Set the variable PasswordBytes to the same 32-bytes sequence as the corresponding variable in the PHP script above
  3. Build the game and deploy to the webserver of your choice

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published