diff options
| -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. |
