Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Turn off staff access to the Heroku box, and set the base URL for the app to the prod URL:

LOGINS_DISABLED = true
APP_URL_BASE = https://digital.sciencehistory.org

Switch DNS:

  • point the CNAME for digital.sciencehistory.org to peaceful-basilisk-lhtznpb53fvrt1mv8yt398yy.herokudns.com

  • point the CNAME for staging-digital.sciencehistory.org to convex-pelican-rsz77g7eof8bvxziiakaer03.herokudns.com

  • point the CNAME for oh.sciencehistory.org to tranquil-gibbon-icqi7z9ngvnj4toc8g4ialyl.herokudns.comsd

Get the database and load it into heroku production:

ssh ubuntu@54.205.236.26 "pg_dump --no-password -U postgres --no-owner --clean --no-acl --create digcol" > ~/Desktop/db_for_heroku.sql

heroku pg:psql --app scihist-digicoll-production < ~/Desktop/db_for_heroku.sql

Reindex and remove orphans

heroku run rake scihist:solr:reindex --app scihist-digicoll-production

heroku run rake scihist:solr:delete_orphans --app scihist-digicoll-production

  • No labels