From cdfce7ce038826bd99be805b7e7579c9ec5d4fc2 Mon Sep 17 00:00:00 2001 From: leonoverweel Date: Mon, 27 Feb 2017 01:19:37 +0100 Subject: Fix minor mistakes in README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1397b692..13b436ac 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Set up the database, replacing `PATH_TO_DATABASE` with where you'd like to creat python opendc/database/rebuild-database.py "PATH_TO_DATABASE" ``` -Create a file `KEYS.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/tudelft-atlarge/opendc#preamble)). Replace `PATH_TO_DATABASE` with where you created the 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/tudelft-atlarge/opendc#preamble)). Replace `PATH_TO_DATABASE` with where you created the database. ```json { @@ -37,11 +37,10 @@ Create a file `KEYS.json` in `opendc-web-server`, containing the following. Repl } ``` -In `opendc-web-server/static/index.html`, add your own `OAUTH_CLIENT_ID` in `control=`. +In `opendc-web-server/static/index.html`, add your own `OAUTH_CLIENT_ID` in `content=""`. Run the server. ```bash -cd ../opendc-web-server -python main.py "PATH_TO_DATABASE\\opendc.db" +python opendc-web-server/main.py config.json ``` \ No newline at end of file -- cgit v1.2.3