Requirements
GAL2 requires a PHP interpreter in order to work (recommended PHP version number > 5.3.7) and the MySQL version requires a database. One example is
WampServer, which can be downloaded free of charge.
Installation and creating a new game/simulation
- Download the GAL2 installation package (MySQL or XML).
- Extract that package into a suitable location. If you're using WampServer or something similar, the correct folder usually points to the URL http://localhost/. If you're using an external server, transfer the files with e.g. an FTP client to a suitable www location.
- Open the install.php file with your web browser (e.g. http://localhost/GAL2-mysql/install.php).
- Install GAL2.
- MySQL: Fill the MySQL database address, correct port, name of the database, user name and password in the form.
- XML: Type the location for the folder that's going to contain the XML files as a relative URL to your installation folder.
- Finally in both of the cases fill the desirable user name and password for the super administrator. The super administrator can create new games/simulations and administrators for those games/simulations.
- Go to the administrator area (e.g. http://localhost/GAL2-mysql/admin/) and use the super administrator's credentials to log in. Now you're ready to create a new game/simulation.
- Fill the name of the game/simulation and the credentials for the administrator of that game. There's also an option to create some sample cards for your simulation/game that can help you get started.
- You can now go to the administrator view of your game/simulation by selecting it in "Open game/simulation". More info about the admin view can be found in the instructions.
- Your game/simulation can be found by typing its name after the installation location and /game/ attribute on the address bar of your web browser (e.g. http://localhost/GAL2-mysql/game/new_game).