Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update README.md with correct postgreSQL version documentation #3927

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

jason-upchurch
Copy link
Contributor

@jason-upchurch jason-upchurch commented Jul 21, 2020

Summary (required)

Impacted areas of the application

List general components of the application that this PR will affect:

  • README.md
  • local postgreSQL

How to test

  • checkout branch
  • verify README.md looks correct (postgreSQL refs should refer to PG11)
  • see developer documentation at: https://github.com/fecgov/fec-cms/wiki/Change-version-of-PostgreSQL-used-on-local-environment and follow steps
  • advise any recommended changes to that developer documentation (wiki)
  • $ drop cfdm_cms_test
  • $ create cfdm_cms_test
  • get 2020 dump file from Google Drive CMS DB Backup (fec_cms_gov_cloud_prod_20200715.dump)
  • $ pg_restore --dbname cfdm_cms_test --no-acl --no-owner <path/to/fec_cms_gov_cloud_prod_20200715.dump>
  • fec-cms/fec$ ./manage.py migrate (may result in message instructing a preliminary step)
  • verify tables populate, e.g.,
    • $ psql cfdm_cms_test
    • # select * from home_author;
  • advise @jason-upchurch upon approval and he will notify the team to begin using PG11 for cms.

@jason-upchurch jason-upchurch changed the title [WIP] update config.yml with correct postgres/python versionsw [WIP] update README.md with correct postgreSQL version documentation Jul 22, 2020
@jason-upchurch jason-upchurch self-assigned this Jul 22, 2020
@jason-upchurch jason-upchurch added this to the Sprint 13.1 milestone Jul 22, 2020
@jason-upchurch jason-upchurch changed the title [WIP] update README.md with correct postgreSQL version documentation update README.md with correct postgreSQL version documentation Jul 22, 2020
Copy link
Member

@lbeaufort lbeaufort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@fec-jli fec-jli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job. Thanks

Copy link
Contributor

@pkfec pkfec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@patphongs patphongs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lbeaufort lbeaufort merged commit f67c3ec into develop Jul 28, 2020
@lbeaufort lbeaufort deleted the feature/3757-update-pg11 branch July 30, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade local CMS DB to use Postgres 11
5 participants