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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,22 @@ dependencies, and the Python development dependencies using:

$ pip install -r dev-requirements.txt

Finally you can setup the project:

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

server in a separate terminal with the following command (exact to path database
Copy link
Contributor

Choose a reason for hiding this comment

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

exact path to database may vary

path may vary depending on system):

.. code-block:: console

$ postgres -D /usr/local/var/postgres
LOG: database system was shut down at 2014-12-17 18:02:12 CET
LOG: database system is ready to accept connections
LOG: autovacuum launcher started

Finally you can setup the project:

.. code-block:: console

$ # Create a Database
Expand Down