bang/backend
Alberto Xamin 1a839db4c8
Merge pull request #497 from albertoxamin/dependabot/pip/backend/eventlet-0.35.2
Bump eventlet from 0.33.3 to 0.35.2 in /backend
2024-05-26 20:06:13 +01:00
..
.idea started working on frontend 2020-11-19 21:34:25 +01:00
bang fix sventagliata 2024-05-26 20:04:46 +01:00
tests fix sventagliata 2024-05-26 20:04:46 +01:00
Dockerfile add apt get install dependencies 2021-06-22 10:03:37 +02:00
globals.py add game save 2023-01-20 20:57:30 +00: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 pull request #497 from albertoxamin/dependabot/pip/backend/eventlet-0.35.2 2024-05-26 20:06:13 +01:00
server.py expire and remove secrets 2024-02-23 10:45:52 +00: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