Ver código fonte

Run migrations before loading data

Jake Howard 2 anos atrás
pai
commit
acdb1fb5ef
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      readme.md

+ 1 - 0
readme.md

@@ -95,6 +95,7 @@ docker compose up --build -d
 After this command completes and returns to the command prompt, wait 10 more seconds for the database setup to complete. Then run:
 
 ```bash
+docker compose run app /venv/bin/python manage.py migrate
 docker compose run app /venv/bin/python manage.py load_initial_data
 ```
 If this fails with a database error, wait 10 more seconds and re-try. Finally, run: