Skip to content

Conversation

@chreman
Copy link
Member

@chreman chreman commented Nov 5, 2020

This PR adds a dockerized Postgres-database as a second option to the backend.

  • Updated docker-compose with new services for postgres and pgadmin4
  • updated config-files with new persistence_backend parameter which defaults to legacy, except for triple and gsheets examples
  • Created a new persistence-namespace in services/apis, and migrated functionality from sqlite to flask-sqlalchemy
  • added tests for persistence layer
  • Created alternative routes in search.php, GSheetUpdateAvailable, getGSheetsMap, getLatestRevision,
  • Cleaned up code and added a new function to CommUtils

This PR also contains a new gsheets example, which was developed in parallel and is strongly interdendent with backend-functionalities developed here.

@chreman chreman merged commit 5772129 into master Dec 3, 2020
@sckott
Copy link
Collaborator

sckott commented Dec 9, 2020

woops, sorry, was going to review, but didn't get to it in time.

chreman added a commit to chreman/Headstart that referenced this pull request Oct 13, 2021
…resql-container

Postgresql container

Former-commit-id: 5772129
@chreman chreman deleted the postgresql-container branch October 14, 2021 12:30
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.

4 participants