bang/backend
dependabot[bot] 59bc3ad062
Bump python-socketio from 4.6.1 to 5.5.2 in /backend
Bumps [python-socketio](https://github.com/miguelgrinberg/python-socketio) from 4.6.1 to 5.5.2.
- [Release notes](https://github.com/miguelgrinberg/python-socketio/releases)
- [Changelog](https://github.com/miguelgrinberg/python-socketio/blob/main/CHANGES.md)
- [Commits](https://github.com/miguelgrinberg/python-socketio/compare/v4.6.1...v5.5.2)

---
updated-dependencies:
- dependency-name: python-socketio
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 18:23:14 +00:00
..
.idea started working on frontend 2020-11-19 21:34:25 +01:00
bang restore bad fix for roulette event 2022-03-22 22:05:00 +01:00
tests fix outlaw and victory from death 2022-03-04 01:49:04 +01:00
Dockerfile add apt get install dependencies 2021-06-22 10:03:37 +02:00
Readme.md fix game not ending on sheriff death 2021-03-01 17:10:54 +01:00
requirements.txt Bump python-socketio from 4.6.1 to 5.5.2 in /backend 2022-03-24 18:23:14 +00:00
server.py add datadog monitoring 2022-03-24 19:22:09 +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