bang/backend
dependabot[bot] ae7a30fdae
Bump pytest from 7.1.2 to 7.2.0 in /backend
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.2.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 10:46:54 +00:00
..
.idea started working on frontend 2020-11-19 21:34:25 +01:00
bang fix ghost card on ghost town 2023-01-10 20:16:49 +00:00
tests add ritorno di fiamma 2023-01-07 11:15:40 +00:00
Dockerfile removed dd-trace 2023-01-12 11:37:40 +01: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 Bump pytest from 7.1.2 to 7.2.0 in /backend 2023-01-12 10:46:54 +00:00
server.py removed dd-trace 2023-01-12 11:37:40 +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