From cee3e61f2db61d98abc8e35eee04f4b8f8108f8e Mon Sep 17 00:00:00 2001 From: rebuilt Date: Thu, 4 Nov 2021 14:08:32 +0100 Subject: [PATCH] Add documentation for deploying to production --- doc/steps_to_deploy_to_production.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/steps_to_deploy_to_production.md diff --git a/doc/steps_to_deploy_to_production.md b/doc/steps_to_deploy_to_production.md new file mode 100644 index 00000000..ae0e2f86 --- /dev/null +++ b/doc/steps_to_deploy_to_production.md @@ -0,0 +1,16 @@ +# Deploying to production + +* Sign in to heroku +* Back up the database +``` +heroku pg:backups:capture +heroku pg:backups:download +``` +* Navigate to mciea-dashboard settings tab +* Ensure environmental variables match between staging and production environments +* Navigate to mciea-dashboard deploy tab +* Select branch to deploy(main) +* Verify in the activity log that Heroku builds the deployment +* Verify that the site contains the new features +* Run the db:seed script +* Verify that the data represented on the different tabs matches what is expected. The items listed in the measure key should be represented on the site.