Web server for comunicationg with ID gov ua
bin/service {start|stop|status|restart}
- [TODO: Add services, data stores and critical backends]
- Please refer to the
requirements.txt
file and thesetup.py
script for a complete, up-to date, list of application requirements - The
requirements_dev.txt
file specified dependencies necessary for running the tests. See testing instructions below
- [TODO: Add list of user-facing features]
- Swagger UI:
http://0.0.0.0:9999/api/v1.0/docs
- OpenAPI Schema Definition:
diia_auth_server/docs/swagger-v1.0.yaml
Configure the app:
cp config/default.conf ~/.config/diia_auth_server.conf
Install the app:
$ make clean install
Make sure you have the database user/passwords in your ~/.pgpass
file.
$ make clean install
$ make docker-build
Development server is strictly for development purposes only. It comes with neat support for file-watching and automatic hot-reload.
$ make dev-server
To run the application as a standalone service in the background (SysV style), run the following command. All logs are redirected to the logs/diia_auth_server.log
file.
$ bin/service start
$ make docker-run
The above command assumes the docker image has been built, to make sure you have built it already, please run the following command:
$ make docker-build
$ make test
$ make package
The result of the command is a wheel binary under the dist/
local directory.
- [TODO: Add any relevant additional resources to the project]