bang/backend
Giulio 20f09a2559 fix belle star ability with barile and visibility
Co-authored-by: Alberto Xamin <alberto@xamin.it>
2021-05-25 14:57:42 +02:00
..
.idea started working on frontend 2020-11-19 21:34:25 +01:00
bang fix belle star ability with barile and visibility 2021-05-25 14:57:42 +02:00
__init__.py fix molly stark with Slab The Killer 2021-05-24 00:47:08 +02:00
Dockerfile add docker 2020-11-21 17:37:42 +01:00
Readme.md fix game not ending on sheriff death 2021-03-01 17:10:54 +01:00
requirements.txt use again old socketio version 2020-12-16 20:07:03 +01: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