Explorar el Código

Run migrations before loading data

Jake Howard hace 2 años
padre
commit
acdb1fb5ef
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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: