Merge branch 'ik/build-deploy-script' of https://github.com/cisagov/getgov into ik/build-deploy-script

This commit is contained in:
igorkorenfeld 2022-09-16 12:52:47 -04:00
commit c1eb0a6d0f
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -49,7 +49,7 @@ cf target -o cisa-getgov-prototyping -s unstable
cf push getgov-unstable -f ops/manifests/manifest-unstable.yaml cf push getgov-unstable -f ops/manifests/manifest-unstable.yaml
cf run-task getgov-unstable --command 'python manage.py migrate' --name migrate cf run-task getgov-unstable --command 'python manage.py migrate' --name migrate
``` ```
Alternatively, you could run the `deploy.sh` script in the `/src` directory to build the assets and deploy to `unstable`. Similarly, you could run `bash.sh` script to just compile and collect the assets without deploying. Alternatively, you could run the `deploy.sh` script in the `/src` directory to build the assets and deploy to `unstable`. Similarly, you could run `build.sh` script to just compile and collect the assets without deploying.
## Serving static assets ## Serving static assets