From b643c08a740b004fed1bc079c31c52570136a539 Mon Sep 17 00:00:00 2001 From: sg495 Date: Wed, 3 Jan 2018 20:22:38 +0100 Subject: [PATCH] Made instructions slightly more detailed (with explicit examples for users on windows/XAMPP). --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 070a55b..412333d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Much-Assembly-Required-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)). - -Easiest way to configure the database: +Installation instructions: +1. Install a PHP environnment and a MySQL server (e.g. XAMPP on Windows). +2. Configure the MAR database, using the installation script [database.sql](https://github.com/simon987/Much-Assembly-Required-Frontend/blob/master/database.sql)): ```bash $ pwd ~/Much-Assembly-Required-Frontend/ @@ -23,6 +23,10 @@ $ # before running these commands ``` 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) +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) HTML template by ajlkn