Thanks for subscribing! We'll let you know how Passit is progressing.

Passit Update Guide

To learn more about installing Passit, visit our installation guide.

Upgrading consists of getting the latest Docker images, deploying them, and then running database migrations, which will happen manually or automatically depending on where you’re working.

Docker

To upgrade using Docker Compose:

  1. Get the latest docker image docker-compose pull
  2. Shut down the server docker-compose down
  3. Migrate the database docker-compose run --rm app ./manage.py migrate
  4. Start the database docker-compose up -d

OpenShift

Update the Passit Docker image stream. This will trigger a deploy. You can do this by pulling the Docker image, tagging it, and pushing it to OpenShift.

  1. docker pull registry.gitlab.com/passit/passit-frontend:master
  2. docker tag openshift-register/<openshift-project-name>/passit:latest
  3. docker push openshift-registry/<openshift-project-name>/passit:latest

Your database will automatically update using a pre-deploy hook.

Heroku

Update the Passit Docker image stream. This will trigger a deploy. You can do this by pulling the Docker image, tagging it, and pushing it to Heroku.

  1. docker pull registry.gitlab.com/passit/passit-frontend:master
  2. docker tag registry.heroku.com/<heroku-app-name>/web
  3. docker push registry.heroku.com/<heroku-app-name>/web

Manually migrate the database. Run ./manage.py migrate in a one-off dyno.

Without Docker

This is not supported. However, if you pull the latest code from the passit-frontend and passit-backend repos and then run the database migration, it should work.