bang/backend
2022-05-05 11:05:03 +02:00
..
.idea started working on frontend 2020-11-19 21:34:25 +01:00
bang exclude replays from metrics 2022-04-05 15:18:12 +02:00
tests fix issues 2022-03-24 20:19:41 +01:00
Dockerfile remove armv7 and add ddtrace command to docker 2022-04-06 16:19:03 +02:00
metrics.py change the right dockerfile 2022-04-07 09:44:11 +02:00
Readme.md fix game not ending on sheriff death 2021-03-01 17:10:54 +01:00
requirements.txt Merge remote-tracking branch 'origin/dependabot/pip/backend/dev/ddtrace-1.1.1' into dev 2022-05-05 11:05:03 +02:00
server.py more tracing 2022-04-11 14:51:55 +02:00

Bang Backend

How to get started

Development

Create a virtual env

python3 -m venv PATHTOENV

activate the new environment

souce PATHTOENV/bin/activate

now with the current directory in the backend folder install the dependencies

pip install -r requirements.txt

then you can start the python file __init__.py, I recommend you use nodemon for that, as it will automatically reload the server on new changes. If you don't already have it, you can install nodemon with

npm i -g nodemon

then you will be able to start the server with

nodemon __init__.py