2017-11-22 19:13:00 -05:00
2018-01-03 14:39:21 +01:00
2017-11-22 19:27:13 -05:00
2017-11-22 19:13:00 -05:00
2017-11-22 19:13:00 -05:00
2018-01-20 09:32:28 -05:00
2017-11-22 19:13:00 -05:00
2017-11-22 19:13:00 -05:00
2018-01-02 20:41:41 -05:00
2017-11-22 19:13:00 -05:00
2018-01-03 20:31:03 +01:00
2018-01-03 14:39:21 +01:00

Much-Assembly-Required-Frontend

Frontend files for the https://muchassemblyrequired.com/ game. Information about the backend can be found here.

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:
$ pwd
~/Much-Assembly-Required-Frontend/
$ mysql -u root -p
Enter password:  # type your MySQL root user password

MariaDB [(none)]>
MariaDB [(none)]> CREATE DATABASE mar;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON mar.* to 'mar'@'localhost' identified by 'mar';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> USE mar;
MariaDB [mar]> \. database.sql
MariaDB [(none)]> exit
Bye
$ # if '\. database.sql' failed you were not in the right directory. make sure you are in the repo root directory
$ # before running these commands

Running instructions:

  1. Start Apache and MySQL.
  2. Start the backend (see here for further details).
  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 http://localhost/MAR in your web browser.

If you didn't use the MySQL snippet above to configure your database, you may need to change the configuration in /include/config.php.

HTML template by ajlkn
Pixel art for the 'Factory' sprite by harveydentmd

Description
No description provided
Readme 7.7 MiB
Languages
JavaScript 92.6%
SCSS 2.6%
Less 1.5%
TypeScript 1.5%
CSS 1%
Other 0.8%