| .. | ||
| .idea | ||
| bang | ||
| tests | ||
| Dockerfile | ||
| globals.py | ||
| metrics.py | ||
| Readme.md | ||
| requirements.txt | ||
| server.py | ||
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