Create new stable environment (#367)

update documentation for environments and setup new stable environment
This commit is contained in:
Logan McDonald 2023-01-17 13:54:30 -08:00 committed by GitHub
parent 80f8748f39
commit 6a54bf1ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 88 additions and 137 deletions

View file

@ -3,9 +3,9 @@
# Compile and collect static assets
../ops/scripts/build.sh
# Deploy to unstable
cf target -o cisa-getgov-prototyping -s unstable
cf push getgov-unstable -f ../ops/manifests/manifest-unstable.yaml
# Deploy to sandbox
cf target -o cisa-getgov-prototyping -s $1
cf push getgov-$1 -f ../ops/manifests/manifest-$1.yaml
# migrations need to be run manually. Developers can use this command
#cf run-task getgov-unstable --command 'python manage.py migrate' --name migrate
#cf run-task getgov-SANDBOXNAME --command 'python manage.py migrate' --name migrate