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

question about using remote Postgres #4373

Open
schristley opened this issue Feb 24, 2023 · 0 comments
Open

question about using remote Postgres #4373

schristley opened this issue Feb 24, 2023 · 0 comments

Comments

@schristley
Copy link

schristley commented Feb 24, 2023

I'm picking up a fork which has been dormant for awhile and trying to get it into a production state, but there's something I don't quite get. I'm able to build and startup the development system with the standard commands:

$ bin/dev-servers development.ini --app-name app --clear --init --load
# In a separate terminal, make sure you are in the encoded-venv
$ bin/pserve development.ini

Now I want to point it to a production Postgres, it's running on another machine and managed by our DB group, but I haven't been able to figure out how to do that. It keeps wanting to start up postgres itself. I've tried using production.ini instead but that doesn't seem to work either. I also tried modifying the buildout.cfg with a full postgres connection string, but it still seems to create a local db in /tmp/snovault

Is there something I'm missing?

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

No branches or pull requests

1 participant