Skip to content
This repository was archived by the owner on Oct 5, 2019. It is now read-only.

Commit b08620d

Browse files
committed
Update readme.md
1 parent 179fb31 commit b08620d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ After **initially cloning** the repository make sure that
1313

1414
1. All the dependecies in `requirements.txt` are installed. You can install them by running `pip install -r requirements.txt`.
1515
2. You created and configured the dotenv file (`.env`). Just copy and rename the `.env.example`.
16-
3. You created the database. In your terminal navigate to this folder and run `python` to bring up the python interactive shell. Then run the following three commands: `import app`, then `app._create_database()` and finally `exit()`.
16+
3. You created the database. In your terminal navigate to this folder and run `python` to bring up the python interactive shell. Then run the following three commands: `import app`, then `app.create_database()` and finally `exit()`.
17+
4. You seeded the database. Navigate to `/resources/scripts/import_books` and follow the instructions to seed the database you just created.
18+
5. Now run `python run.py` to start up the server. It will automatically check whether Jobs for synchronyzing the local database against the goodreads and amazon APIs exist and create them if not so. If you want to run the jobs immediately (it still takes time, since it is done book after book) stop the server and bring up the python interactive shell. Then run the following three commands: `import app`, then `app.run_sync_jobs()` and finally `exit()`.
1719

1820
## Folder Structure
1921

0 commit comments

Comments
 (0)