cotr

Migrating from Vagrant

./bake.py up --build
pg_dump -O -E utf-8 -U app_ctrs -f ~/stg.sql -h db-stg.ctrs.cch.kcl.ac.uk app_ctrs_stg
gzip stg.sql
./bake.py -s postgres exec bash
ps -ef | grep cotr
kill ID1 ...
cd /backups
restore stg.sql.gz
exit
./bake.py manage migrate
./bake.py manage ctrstxt import path_to/arch-content.json
./bake.py manage createsuperuser
npm install
pre-commit install