Closed konklone closed 9 years ago
A few notes here:
foia-a
or foia-b
.foia-a.cf.18f.us
and foia-b.cf.18f.us
will no longer be viable URLs to use to inspect the state of the production system -- only https://open.foia.gov
will work (and when the A record is removed pre-launch, /etc/hosts
will be necessary to access the production system).cf.18f.us
base domain and onto a .gov
itself. This is also when it makes sense to finally purchase a wildcard cert, so that dev/staging domains can safely and easily be on HTTPS without any work on the part of individual project devs.In the meantime, our CloudFoundry staging domain (foia.cf.18f.us
?) will continue to be fine to be accessed over http://
if it remains in development mode.
In other words: don't run the above command and close this ticket until #553 is closed.
As discussed before - I set up a staging environment last week. It runs here: http://openfoia-staging.cf.18f.us/ (no https setup).
The production app(s), foia-a
and foia-b
are now in production mode and have been re-deployed. I updated the commands at the top to reflect the process I went through.
It's been running in the development environment, but should be flipped to the production environment. The production environment will need to add more hostnames to
ALLOWED_HOSTS
infoia_hub/settings/production.py
.To flip the app to production:
Then redeploy: