summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonoverweel <l.overweel@gmail.com>2017-02-27 01:19:37 +0100
committerleonoverweel <l.overweel@gmail.com>2017-02-27 01:19:37 +0100
commitcdfce7ce038826bd99be805b7e7579c9ec5d4fc2 (patch)
treee3715fe3564c1a6f8c4e10498d510a275b7f3901
parent7f577b43420a1354fbb75c6c12dca3c9f7ecac50 (diff)
Fix minor mistakes in README.md
-rw-r--r--README.md7
1 files 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