Skip to content

Commit

Permalink
single node psql connection option for tutorials (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonels-msft committed Aug 29, 2019
1 parent d1eceda commit 39ef69a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion get_started/tutorial_multi_tenant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ Creating tables

To start, you can first connect to the Citus coordinator using psql.

**If you are using native Postgres**, as installed in our :ref:`development` guide, the coordinator node will be running on port 9700.

.. code-block:: bash
psql -p 9700
**If you are using Docker**, you can connect by running psql with the docker exec command:

::
.. code-block:: bash
docker exec -it citus_master psql -U postgres
Expand Down
6 changes: 6 additions & 0 deletions get_started/tutorial_realtime_analytics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ Creating tables

To start, you can first connect to the Citus coordinator using psql.

**If you are using native Postgres**, as installed in our :ref:`development` guide, the coordinator node will be running on port 9700.

.. code-block:: bash
psql -p 9700
**If you are using Docker**, you can connect by running psql with the docker exec command:

.. code-block:: bash
Expand Down

0 comments on commit 39ef69a

Please sign in to comment.