From 1c3e0eae0bbcf4e3d5e89e71b2592d55ab20cd95 Mon Sep 17 00:00:00 2001 From: Markus Ritberger Date: Sun, 24 Jun 2018 21:26:40 +0200 Subject: [PATCH] Use correct instructions for db migrations in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3dba21..1380e6c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ https://gitlab.com/Slemgrim/blender-open-data 1. install dependencies `$ pip install -r requirements.txt` 2. Setup database `$ docker-compose up` -3. Run migrations `$ python manage.py db upgrade` +3. Run migrations `$ python manage.py migrate` 4. (Optional) setup Blender ID endpoint `$ export=BLENDER_ID_ENDPOINT=https://www.blender.org/id/` 5. (Optional) setup Blender Opendata endpoint `$ export=BLENDER_OPENDATA_ENDPOINT=http://localhost:5000/` 6. Run application `$ python manage.py runserver`