A social network about games!
git clone https://github.com/Ventus218/AllGames.gitMove inside the repo folder:
cd AllGamesBe sure to have Docker installed.
Create the container and mount necessary volumes:
docker run -d --name xampp \
-p 8080:80 \
-v "$(pwd)"/website:/www \
-v "$(pwd)"/db:/allgames/db/scripts \
-v "$(pwd)"/sample-data:/allgames/sample-data \
tomsik68/xamppResolve any eventual problems from MariaDB:
docker exec xampp /opt/lampp/bin/mysql_upgradeInitialize the database:
curl --location --request POST 'localhost:8080/www/db/scripts/resetDB.php' \
--header 'Authorization: Basic YWRtaW46cGFzc3c='If you want to load the database with sample data:
curl --location --request POST 'localhost:8080/www/db/scripts/loadSampleDB.php' \
--header 'Authorization: Basic YWRtaW46cGFzc3c='You can now log in as one of the sample users
| Username | Password |
|---|---|
| YOU_DIED | password |
| TheAmazonian | password |
| Th3Pr0Kill3r | password |
| gothic-4ever | password |
| roberuti | password |
| draco4ever | password |
You can now access AllGames at http://localhost:8080/www/index.php
Here you can find all the documentation: