A role play game
-
Clone the repository
git clone https://github.com/Reyfey/rpg.git
-
Run
seeder.sql
to generate databasemysql -u [user] -p[password] < db/seeder.sql
-
Run
data.sql
if you want testing datamysql -u [user] -p[password] < db/data.sql
-
Copy the example configuration file
cp database.example.json database.json
and replace the parameters to connect to your database
-
(Optional) Create virtual environment for python
python -m venv venv chmod +x venv/bin/activate ./venv/bin/activate
-
Install the dependencies
pip install -r requirements.txt
-
Finally, run and enjoy :)
python main.py