Use correct instructions for db migrations in readme

This commit is contained in:
Markus Ritberger
2018-06-24 21:26:40 +02:00
parent 202e84c06b
commit 1c3e0eae0b
+1 -1
View File
@@ -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`