Made instructions slightly more detailed (with explicit examples for users on windows/XAMPP).

This commit is contained in:
sg495 2018-01-03 20:22:38 +01:00
parent d4732d8946
commit b643c08a74

View File

@ -1,9 +1,9 @@
# Much-Assembly-Required-Frontend # Much-Assembly-Required-Frontend
Files for https://muchassemblyrequired.com/ frontend. Files for https://muchassemblyrequired.com/ frontend.
Requires a PHP environnment and a MySQL server (Database installation script: [database.sql](https://github.com/simon987/Much-Assembly-Required-Frontend/blob/master/database.sql)). Installation instructions:
1. Install a PHP environnment and a MySQL server (e.g. XAMPP on Windows).
Easiest way to configure the database: 2. Configure the MAR database, using the installation script [database.sql](https://github.com/simon987/Much-Assembly-Required-Frontend/blob/master/database.sql)):
```bash ```bash
$ pwd $ pwd
~/Much-Assembly-Required-Frontend/ ~/Much-Assembly-Required-Frontend/
@ -23,6 +23,10 @@ $ # before running these commands
``` ```
Make sure to change the configuration in /include/config.php. Make sure to change the configuration in /include/config.php.
> Tough if you used the snippet above there is nothing to change (except the title if you want) > Tough if you used the snippet above there is nothing to change (except the title if you want)
3. Run the frontend from localhost.
When using XAMPP, for example, you can place the frontend files in the ```xampp/htdocs/MAR``` folder,
and you can run the frontend by typing ```localhost/MAR``` in your web browser.
More information about the game [here.](https://github.com/simon987/Much-Assembly-Required) More information about the game [here.](https://github.com/simon987/Much-Assembly-Required)
HTML template by ajlkn HTML template by ajlkn