Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test staging environment with real data #323

Closed
bfirsh opened this issue Dec 14, 2018 · 3 comments
Closed

Test staging environment with real data #323

bfirsh opened this issue Dec 14, 2018 · 3 comments
Assignees
Labels

Comments

@bfirsh
Copy link
Member

@bfirsh bfirsh commented Dec 14, 2018

There is now a staging environment at https://embassynetwork-staging.herokuapp.com/ https://staging.embassynetwork.com/ as the result of #303.

Before we consider whether we want to deploy the production environment to Heroku, we should actually check the damn thing works.

Tasks

  • Set up Stripe test account @jessykate
  • Put production database dump on staging @jessykate
  • Set up Mailgun test account @jessykate
  • Set up Sentry so we can keep track of any exceptions that happen when testing #309 @jessykate
  • Put static files dump on S3 @bfirsh
    • s3cmd sync --region us-east-1 -rv webapp/media/* s3://staging-media.embassynetwork.com/public/
  • Set up scheduled tasks (see #326)
    • set up to run at 11:00 UTC / 03:00 PST, which seems a reasonable timezone compromise
  • Set up static files so they’ll be served by Cloudflare CDN (should work out of box with whitenoise, but double check)
  • Document how static files are done (@bfirsh ) #426
  • Put behind CDN and real domain
  • Check all the happy booking paths work with Stripe test account (@jessykate, see #339 )
  • Check file upload stuff on S3 all works as expected
  • Put behind basic auth so people don't use it by mistake (@bfirsh, see #380 )
@bfirsh bfirsh mentioned this issue Dec 14, 2018
50 of 50 tasks complete
@bfirsh bfirsh added this to Backlog in Modernomad Backlog via automation Jan 21, 2019
@bfirsh bfirsh moved this from Backlog to Doing in Modernomad Backlog Jan 21, 2019
bfirsh added a commit to bfirsh/modernomad that referenced this issue Feb 14, 2019
This lets us hide staging so people don't use it by accident.

See embassynetwork#323
@bfirsh

This comment has been minimized.

Copy link
Member Author

@bfirsh bfirsh commented Feb 14, 2019

I have put staging behind Cloudflare at https://staging.embassynetwork.com/. All static assets are in theory served via Cloudflare's CDN now.

Media is also served via Cloudflare at https://staging-media.embassynetwork.com/.

bfirsh added a commit to bfirsh/modernomad that referenced this issue Feb 14, 2019
This lets us hide staging so people don't use it by accident.

See embassynetwork#323
jonathan-s added a commit that referenced this issue Feb 24, 2019
This lets us hide staging so people don't use it by accident.

See #323
@bfirsh

This comment has been minimized.

Copy link
Member Author

@bfirsh bfirsh commented Mar 1, 2019

Just gonna say we've done this and move #351 to #324 as a blocker. Woooooooo 🎉

@bfirsh bfirsh closed this Mar 1, 2019
Modernomad Backlog automation moved this from Doing to Done Mar 1, 2019
@jonathan-s

This comment has been minimized.

Copy link
Collaborator

@jonathan-s jonathan-s commented Mar 1, 2019

🎉 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants
You can’t perform that action at this time.