1- ### PyRuc (Python Redis Users Controller)
2- PyRuc is the service for maintaining new and existing users accounts
3-
1+ ### PyRuc is the service for maintaining user accounts (UAC)
42[ ![ Coverage Status] ( https://coveralls.io/repos/github/stanislav-web/PyRuc/badge.svg?branch=master )] ( https://coveralls.io/github/stanislav-web/PyRuc?branch=master ) [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/810e623b6db74357ba10915f4247aa6d )] ( https://www.codacy.com/app/stanisov/PyRuc?utm_source=github.com& ; utm_medium=referral& ; utm_content=stanislav-web/PyRuc& ; utm_campaign=Badge_Grade ) [ ![ GitHub license] ( https://img.shields.io/github/license/stanislav-web/PyRuc.svg )] ( https://github.com/stanislav-web/PyRuc/blob/master/LICENSE )
53
64| Python | Status |
@@ -22,44 +20,36 @@ PyRuc is the service for maintaining new and existing users accounts
2220- Gevent as default async worker for Gunicorn
2321- Python flask
2422- Twilio SMS notifier
25- - Logstash client as logs filter to Elastic
23+ - ELK client for as log transport
2624- JWT authentication
2725- Redis as persistent user's storage
2826
29- ##### Configuration
30- ``` bash
31- /app/env/development.env
32- /app/env/production.env
33- ```
34- You also could setup your build out of the docker container.
35- Please install ` dotenv ` pip package for realize your custom environments
36-
3727##### Installation
3828- Docker
3929``` bash
4030
4131# ENV development: using /app/env/development.env
42- > docker-compose --file docker-compose.dev.yml up --build
32+ docker-compose --file docker-compose.dev.yml up --build
4333
4434# ENV production: using /app/env/production.env
45- > docker-compose --file docker-compose.prod.yml up --build
35+ docker-compose --file docker-compose.prod.yml up --build
36+
4637```
4738- Manualy & Run
4839``` bash
49- > cd app
50- > pip install -r requirements.txt
51- > gunicorn -c config.py server --reload
40+ pip install -r requirements.txt
41+ gunicorn -c config.py server --reload
5242```
53-
5443##### Try API
5544[ http://drunk-start.surge.sh ] ( http://drunk-start.surge.sh )
5645
46+
5747##### Diagrams
5848![ Registration] ( images/registration.png )
5949![ Authentication] ( images/authentication.png )
6050![ Restore] ( images/restore.png )
6151
6252#### Tests
6353``` bash
64- > cd app && coverage run setup.py test
65- ```
54+ cd app && coverage run setup.py test
55+ ```
0 commit comments