소스 검색

Run migrations before loading data

Jake Howard 2 년 전
부모
커밋
acdb1fb5ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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: