Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependencies fix paths #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# auth_microservice
Microservice which abstracts out OAuth2/OpenID exchanges and token management from applications

Requires:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make clear that these are requirements for the example, not for auth_microservice. auth_microservice doesn't need any of these

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
Expand All @@ -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/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BenjaminHCCarr after the previous PR was merged, please changes instances of src to example and I will merge this one

[auth_microservice] $ cp config/* /etc/auth_microservice
```

Expand All @@ -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
Expand Down