The Boat API
Create a venv and install packages
make installmake runmake run-wsgigunicorn.conf.py
workers = 2 # number of workers / Flask processes gunicorn starts
worker_class = 'gevent' # enables ansyc code in the Flask process/api/v1/stations/100/59.40225,18.35317
- clone this repo or pull the latest changes
- create a new branch feature/<feature>
- run
make fmt mypy testto auto format code, run static type checker and unit tests - push the code and create a merge request to main branch
- get the pull request reviewed and approved, the branch should be removed once merged.
- create a new git tag version, following semantic versioning i.e. MAJOR.MINOR.PATCH