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

Config Var correct, add Django Secret #37

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
6 changes: 3 additions & 3 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ Go to the `Resources` tab, and add the following Add-ons:
1. `Heroku Redis`
2. `Heroku Postgres`

Next go to the `settings` tab and add the environment variables as in the `.env` file.
Next go to the `settings` tab and add the variables to `Config Vars` as they are in your `.env` file.

1. `OH_CLIENT_ID`
2. `OH_CLIENT_SECRET`
3. `OH_ACTIVITY_PAGE`
4. `APP_BASE_URL` (e.g. https://your-app-name.herokuapp.com - no trailing dash!)
5. `SECRET_KEY`
5. `SECRET_KEY` (see the [`Django` docs here](https://docs.djangoproject.com/en/2.0/ref/settings/#std:setting-SECRET_KEY))
6. `DEBUG` = true when needed
7. `REMOTE` = true

Expand Down Expand Up @@ -260,4 +260,4 @@ Now you have worked through to create a working demo, and should understand roug

You are likely to want to start making changes in the `tasks.py` file, which is where much of the logic is stored. Instead of generating a dummy data file you will want to think about how to get your own data into the app, whether it is a previously downloaded file, which needs to be processed and/or vetted by the app, or you are working from an external API.

Good luck, and please do [get in touch]((http://github.com/OpenHumans/oh-data-source-template/issues)) to ask questions, give suggestions, or join in with our [community chat](http://slackin.openhumans.org)!
Good luck, and please do [get in touch]((http://github.com/OpenHumans/oh-data-source-template/issues)) to ask questions, give suggestions, or join in with our [community chat](http://slackin.openhumans.org)!