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

Use postgres for local dev, via docker #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sethetter
Copy link
Member

So we can easily import dumps from production, and to generally have a local environment more closely resembling production.

Hopefully this doesn't interrupt anyone's local dev environments too much currently. You can always change the database.yml file back to sqlite.

So we can easily import dumps from production, and to generally have a local
environment more closely resembling production.
@sethetter sethetter requested a review from kentonh October 11, 2017 15:32
@@ -5,21 +5,24 @@
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
adapter: postgresql

Choose a reason for hiding this comment

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

Hopefully this doesn't interrupt anyone's local dev environments too much currently

What about ignoring database.yml and adding a database.example.yml or creating the postgresql options in another key instead of default?

@kentonh
Copy link
Member

kentonh commented Oct 14, 2017

@sethetter I'll let you merge this PR

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.

3 participants