Preview https://js13k.foumartgames.com
Works with https://github.com/js13kGames/games
(Setup the Server - prepare Database)
-
Copy the contents of src/ folder to the destination folder on your server.
-
Download the games/ folder from https://github.com/js13kGames/games repository and upload there as well.
-
Modify
RewriteBase /in the *.htaccess file to point to the destination folder (leave "/" if using domain root). -
Set up a new empty Database and create/assign a user¹ for it with writing privileges granted.
-
Fill up the database name and the user/password¹ in includes/config.php
¹ Username and password may be left blank for localhost testing
(Continuing installation in the browser)
- Run the script online and continue with the Web Setup...
-
Step 1. Populate Database - open the website and click the button "Setup Database for JS13K Arcade".
-
Step 2. Launch Web Interface - once the Database is created click the button "Launch Web Interface".
-
Step 3. Login with Admin credentials - username: "Admin", password: "js13kadmin".
-
Step 4. Install all JS13K games - Click the "Install JS13K games" button and wait for the setup to complete.
(You'll have to wait for the web scraping script to populate all games in the database. The process takes around 20 minutes to complete)
-
Once the installation process is complete the website will become functional with all JS13K games ready to be played.
-
Enjoy!