Skip to content

damhuman/diia_auth_server

Repository files navigation

diia_auth_server

Web server for comunicationg with ID gov ua

Contents

Synopsis

bin/service {start|stop|status|restart}

Dependencies

Critical Backends

  • [TODO: Add services, data stores and critical backends]

System Requirements

  • Please refer to the requirements.txt file and the setup.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

Features

  • [TODO: Add list of user-facing features]

API

How To Guides

Setup

Setup on Host

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.

Build

Build on Host

$ make clean install

Build on Docker

$ make docker-build

Run

Dev Server

Development server is strictly for development purposes only. It comes with neat support for file-watching and automatic hot-reload.

$ make dev-server

Standalone

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

Docker Container

$ 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

Test

$ make test

Package

$ make package

The result of the command is a wheel binary under the dist/ local directory.

Additional Resources

  • [TODO: Add any relevant additional resources to the project]

About

Backend for comunication with id gov ua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published