diff --git a/README.md b/README.md index ab0b91d..e39f45c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # auth_microservice Microservice which abstracts out OAuth2/OpenID exchanges and token management from applications +Requires: +1) Python 3.5+ +2) python3-venv +3) python3-pip +4) postgres +5) postgresql-contrib + Installation: Create a service account and set up directories owned/used by it @@ -21,7 +28,7 @@ Install python 3.5 or greater. This example uses 3.6. ``` [auth_microservice] $ git clone https://github.com/heliumdatacommons/auth_microservice.git -[auth_microservice] $ cd auth_microservice/ +[auth_microservice] $ cd auth_microservice/src/microservice/ [auth_microservice] $ cp config/* /etc/auth_microservice ``` @@ -38,7 +45,7 @@ If not created beforehand, the app will also create a file named '.django.key' i Now install the app ``` -[auth_microservice] $ cd src/microservice +[auth_microservice] $ cd auth_microservice/src/microservice [auth_microservice] $ python3.6 -m venv venv && source venv/bin/activate [auth_microservice] $ pip install . [auth_microservice] $ ./manage.py runserver 0.0.0.0:8080