Skip to content

Commit

Permalink
Document usage of unix socket connections
Browse files Browse the repository at this point in the history
Closes #21
  • Loading branch information
plaes authored and underyx committed Jul 18, 2016
1 parent 9fe1e0f commit be10bab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ Or if you *must* use easy_install:
Configuration
-------------

Your configuration should be declared within your Flask config. You can declare
via a Redis URL containing the database
Your configuration should be declared within your Flask config. Set the URL of your database like this:

.. code-block:: python
REDIS_URL = "redis://:password@localhost:6379/0"
# or
REDIS_URL = "unix://[:password]@/path/to/socket.sock?db=0"
To create the redis instance within your application
Expand Down

0 comments on commit be10bab

Please sign in to comment.