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

Give command to start postgres. #344

Closed
wants to merge 2 commits into from
Closed

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Dec 17, 2014

For us poor mortal who are not postgres fluent, to avoid searching everyday.


I suppose we should do it for redis too, but I'm not there yet.

For us poor mortal who are not postgres fluent, to avoid searching everyday.

Before setting up the project you need to have a postgres server running.

If you do not want postgres to run as a deamon you can manually launch the postgres
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: deamon => daemon

@msabramo
Copy link
Contributor

2 small nits, but 👍 after fixing those.

@Carreau
Copy link
Contributor Author

Carreau commented Dec 17, 2014

Should be fixed. Thanks Need to practice english and was tired.

@msabramo
Copy link
Contributor

LGTM now. 👍

@msabramo
Copy link
Contributor

See PR #356, which makes it possible to package Warehouse as a Docker container and that takes care of Postgres and everything else automatically. Even if not using Docker, you could use the Procfile in that PR along with honcho or foreman to manage all the processes.

@dstufft
Copy link
Member

dstufft commented Feb 28, 2015

I'm going to close this, I've started porting Warehouse over to Pyramid to ease the concerns of the custom framework-ish thing I've got going on here. That work is on the pyramid branch inside this repository. That includes using Docker via fig to spin up containers for Redis, PostgreSQL, and Warehouse itself using the single command fig up.

@dstufft dstufft closed this Feb 28, 2015
@msabramo
Copy link
Contributor

You might also be interested in https://github.com/msabramo/pydockerize, which is an experiment I've been doing that kind of wraps Docker and fig with some smartness to make it super easy.

Though if you already have the Dockerfile and fig.yml, it may not bring much value.

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