2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 09:00:28 +01:00
website/accounts
2019-07-05 20:50:31 +02:00
..
accounts add README for accounts app 2019-07-05 20:50:31 +02:00
.gitignore scaffold accounts app 2019-07-05 20:37:39 +02:00
Makefile add README for accounts app 2019-07-05 20:50:31 +02:00
README.md add README for accounts app 2019-07-05 20:50:31 +02:00
requirements-dev.txt scaffold accounts app 2019-07-05 20:37:39 +02:00
requirements.txt scaffold accounts app 2019-07-05 20:37:39 +02:00
serverless.yml scaffold accounts app 2019-07-05 20:37:39 +02:00

accounts

The accounts app is responsible for managing operator accounts and issuing authentication tokens that will identify requests made to the server and the kms service.

The application is built using the Flask framework.


Development

Commands

Install dependencies

pip install --user -r requirements.txt -r requirements-dev.txt

Run the development server

FLASK_APP=accounts FLASK_ENV=development flask run

Run the tests

make test

Auto format code using black

make fmt