The phila.gov site is WordPress running behind Nginx on an AWS instance. The entire machine setup is kept in this repo.
- Install joia
- Copy
.env.test
from S3 to.env
in this repo - Run
joia up
Same as above for test instance but replace .env
with .env.prod
. Then, after machine is up:
- Set branch and project tags in AWS for Travis deploy (unsetting tags on current production instance)
- Restart most recent build in Travis
- After deploy has succeeded, add instance to load balancer
- Once instance status is InService, remove and terminate old instance