From af446cd31ab4511630afbef020b1630dcff623c3 Mon Sep 17 00:00:00 2001 From: Leon Overweel Date: Mon, 27 Mar 2017 17:03:27 +0200 Subject: Fix database rebuild procedure in README setup --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bdce698..0478a245 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ git clone https://github.com/atlarge-research/opendc.git Set up the database, replacing `PATH_TO_DATABASE` with where you'd like to create the SQLite database. (This will replace any file named `opendc.db` at the location `PATH_TO_DATABASE`.) ```bash -python opendc/database/rebuild-database.py "PATH_TO_DATABASE" +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. -- cgit v1.2.3