-
-
Notifications
You must be signed in to change notification settings - Fork 451
Infrastructure & Ops
Sean Marcia edited this page Jun 19, 2018
·
9 revisions
- Single server hosted on Linode but will be moving to sponsored hosting on Azure before going General Availability
- Rails
- PostgresDB
- Puma
- Instance is used for all Diaper Banks (hosted service, not federated or self-hosted)
- Right now we are in beta-testing with 5 diaper banks -- Portland Diaper Bank, Sweet Cheeks Diaper Bank, Junior League of Boca Raton, Helping Mamas, Moms Helping Moms Foundation
- These diaper banks are trying to use the system with real-world data
- That means the system is IN PRODUCTION and is the source-of-truth for some users
- There are no particular times of usage, though likely US-daylight
- Q: How do we communicate with users, like if we needed downtime?
- Testing users are encouraged to submit github issues (all of them? trained?)
- TravisCI deploys master
- Triggered by merge into master
- Runs Capistrano deploy if the rest of the tests pass
- See .travis.yml
- Capistrano is used to perform the deploy
- See config/deploy.rb for general config
- See config/deploy/production.rb for production config
- Single server for DB and web server (Puma)
- Uses hard-coded ip address
- Bugsnag (we have an OSS account, contact an admin for access to it)
- Skylight - Monitoring service
- A few admins (a-a-ron, sean, jcavena) have production shell access
- We have the
capistrano-rails-console
gem installed. This allows us to runcap production rails:console
which opens a production rails console from your local command line.
- Issue #405 will add DB backups
- VM Snapshot (?)