...
Running Migrations via manage.py
Manually
...
Info |
---|
Note: Be careful about what version of the code you have since you can’t migrate back without the migration files (except via GoCD) Note also: you’ll need access to edx-secure to run |
TBD
Example Flow:
Code Block |
---|
ssh <sre_user>@<ip_from_aws_console> sudo su - www-data -s /bin/bash cd /edx/app/<service>/ . venvs/<service>/bin/activate . <service>_env cd <service>/ (<service>) www-data@ip-10-3-117-24:/edx/app/ecommerce/ecommerce$ python manage.py showmigrations <model> communication [X] 0001_initial |
...