Deployment Notes

General Django deployment considerations apply to deploying Cove. We deploy using Apache and uwsgi using this Salt State file.

How to do a live deploy of CoVE

IATI

  1. Do the actual deploy. From the opendataservices-deploy directory:

salt-ssh --state-output=mixed -L 'cove-live-iati' state.highstate
  1. Check that the latest commit is shown in the footer of http://iati.cove.opendataservices.coop/

  2. Test that the live site is working as expected. From the cove directory:

CUSTOM_SERVER_URL=http://iati.cove.opendataservices.coop/ DJANGO_SETTINGS_MODULE=cove_iati.settings py.test cove_iati/tests_functional.py -n 4