Use correct instructions for db migrations in readme
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user