Skip to content

Deployments

pollardld edited this page Sep 29, 2017 · 3 revisions
  • SSH into the server
  • cd into /usr/local/apps/marineplanner-core/
  • activate the env (do this now or after the next step) source /env/bin/activate
  • pull the lastest changes to the hoonah repo:
    • cd apps/hnfp/
    • git pull
  • cd back to marineplanner-core and then into marineplanner cd ../../marineplanner-core/marineplanner then run the following:
    • python manage.py collectstatic
    • python manage.py compress
    • sudo service uwsgi restart
    • sudo service nginx restart

Postgres

su -u username psql -d database

Clone this wiki locally