diff --git a/Makefile b/Makefile index c8e8695ca..c8c3441fa 100644 --- a/Makefile +++ b/Makefile @@ -78,3 +78,9 @@ serve-sso: celery-sso: aws-sso exec --profile analytical-platform-development:AdministratorAccess -- celery -A controlpanel worker --loglevel=info + +db-migrate: + python manage.py migrate + +db-drop: + python manage.py reset_db diff --git a/doc/running-devcontainer.md b/doc/running-devcontainer.md index 2fc76cdd3..2f84f678e 100644 --- a/doc/running-devcontainer.md +++ b/doc/running-devcontainer.md @@ -9,7 +9,7 @@ To build the dev container, ensure docker desktop is running, then open the AP C If you are using a workspace with multiple applications, search for ```Dev Containers: Open folder in Container…``` instead, then select the Control Panel folder. Once the dev container has finished building, it should install all the required Python and npm dependencies, as well as run the migrations and install the helm charts. -As part of the install, it will also try and create your AWS and Kubernetes config. Be sure to keep an eye on your terminal and navigate to the AWS SSO site when prompted. Once this has finished, your dev container will have finished building. +As part of the install, it will also try and create your AWS and Kubernetes config. Be sure to keep an eye on your terminal and navigate to the AWS SSO site when prompted. Once this has finished, select yes on the second prompt then your dev container will have finished building. ## 2. Local Environment