From 3764a97616f8e3a42c2bf53b7d7ec58e9c787ede Mon Sep 17 00:00:00 2001 From: Leon Overweel Date: Mon, 27 Mar 2017 17:09:21 +0200 Subject: Clarify `config.json` parameters in README setup --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0478a245..b661314b 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3