Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 815 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 815 Bytes

userstore-prototype

Civil Service Digital user store prototype. Consumes USER:LOGIN messages from the pub/sub message queue and creates or updates a matching user object.

Quickstart

Then run the following commands to bootstrap your environment.

mkvirtualenv --python=/path/to/required/python/version [appname]

Install python requirements.

pip install -r requirements/dev.txt

Set some environment variables. The following is required. Add as needed.

export SETTINGS='config.DevelopmentConfig'

Once that this all done you can:

python manage.py server

Deployment

In your production environment, make sure the SETTINGS environment variable is set to config.Config.

Shell

To open the interactive shell, run ::

python manage.py shell