diff options
| author | leonoverweel <l.overweel@gmail.com> | 2017-02-27 01:19:37 +0100 |
|---|---|---|
| committer | leonoverweel <l.overweel@gmail.com> | 2017-02-27 01:19:37 +0100 |
| commit | cdfce7ce038826bd99be805b7e7579c9ec5d4fc2 (patch) | |
| tree | e3715fe3564c1a6f8c4e10498d510a275b7f3901 | |
| parent | 7f577b43420a1354fbb75c6c12dca3c9f7ecac50 (diff) | |
Fix minor mistakes in README.md
| -rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |
