- Consists of a front-end (Fastify with Nunjucks) and a API - Django + MySQL
- Any version of Python3 should work.
- Install the python dependencies using
pip install -r requirements.txt
. - Install node dependencies using
npm install
. - Setup MySQL and change the settings within
statsapp/settings.py
to reflect your local database. - Change
API_TOKEN
withinapi/settings.py
to your PUBG API Token. - Run the initial migrations for Django
python manange.py migrate
, so it generates the neccessary schema and tables. - Start django first using
python server.py
- Change
threads=8
inserver.py
to the amount of cores your machine has. - Start node using
node server
ornodemon server
if you have nodemon installed. - Navigate to localhost, and search away.
- Load the fixtures within api/fixtures by using the following syntax
python manage.py loaddata api/fixtures/fixtures.json
.