Skip to content

Releases

Elsie L edited this page Mar 7, 2023 · 2 revisions

There are two main steps to pushing a new release to AWS: migrate the schema and use GitHub automation to deploy to AWS.

Migrate schema

To update the Postgres database with new schema, follow these steps:

  1. IMPORTANT Check the settings in your .env file of PLANSCAPE_DATABASE_HOST and PLANSCAPE_DATABASE_PASSWORD to be sure you are updating the right database.

  2. From the src/planscape directory, run the command

    python manage.py migrate
    

Build and deploy a new release

From the OurPlanscape/Planscape page, click the "Create a new release" link on the right side of the page. This will take you to the release page.

  1. Click "Choose a tag" and create a new tag.
  2. Fill in the "Release title" section.
  3. Click "Generate release notes" to fill in the description.
  4. For test versions, click "Set as a pre-release".
  5. Click "Publish release".