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.txtfile and thesetup.pyscript for a complete, up-to date, list of application requirements - The
requirements_dev.txtfile 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.confInstall the app:
$ make clean installMake sure you have the database user/passwords in your ~/.pgpass file.
$ make clean install$ make docker-buildDevelopment server is strictly for development purposes only. It comes with neat support for file-watching and automatic hot-reload.
$ make dev-serverTo 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-runThe 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]