Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
add config to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jan 19, 2018
1 parent d9846b8 commit 80e3d22
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ Much is copied directly from [dataset](https://dataset.readthedocs.org/) and fur
pip install pgdata
```

## Configuration

Create an environment variable `DATABASE_URL` and set it to the [SQLAlchemy db url](http://docs.sqlalchemy.org/en/latest/core/engines.html) for your database:

MacOS/Linux etc:

`export DATABASE_URL=postgresql://postgres:postgres@localhost:5432/mydb`

Windows:

`SET DATABASE_URL="postgresql://postgres:postgres@localhost:5432/mydb"`


## Usage

Expand Down

0 comments on commit 80e3d22

Please sign in to comment.