diff options
| author | Leon Overweel <l.overweel@gmail.com> | 2017-03-27 17:09:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-27 17:09:21 +0200 |
| commit | 3764a97616f8e3a42c2bf53b7d7ec58e9c787ede (patch) | |
| tree | 82fdf03f1f6e813b785ea6b0ff3ab4620c31e683 | |
| parent | af446cd31ab4511630afbef020b1630dcff623c3 (diff) | |
Clarify `config.json` parameters in README setup
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -31,7 +31,7 @@ cd opendc/database python rebuild-database.py "PATH_TO_DATABASE" ``` -Create a file `config.json` in `opendc-web-server`, containing the following. Replace `BASE_DIRECTORY` with the base directory in which you cloned `opendc` and `opendc-web-server`. Replace `OAUTH_CLIENT_ID` with your OAuth client ID (see the [OpenDC README](https://github.com/atlarge-research/opendc#preamble)). Replace `PATH_TO_DATABASE` with where you created the database. +Create a file `config.json` in `opendc-web-server`, containing: ```json { @@ -42,6 +42,12 @@ Create a file `config.json` in `opendc-web-server`, containing the following. Re } ``` +Make the following replacements: +* Replace `BASE_DIRECTORY` with the base directory in which you cloned `opendc` and `opendc-web-server`. +* Replace `OAUTH_CLIENT_ID` with your OAuth client ID (see the [OpenDC README](https://github.com/atlarge-research/opendc#preamble)). +* Replace `PATH_TO_DATABASE` with where you created the database. +* Replace `FLASK_SECRET`, come up with some string. + In `opendc-web-server/static/index.html`, add your own `OAUTH_CLIENT_ID` in `content=""`. Run the server. |
