Skip to content

Commit 0bbfceb

Browse files
committed
Add a note about a Mac-specific issue
1 parent 5709108 commit 0bbfceb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

django-hosting-heroku/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ $ source venv/bin/activate
4343
```
4444

4545
Navigate your web browser to <http://0.0.0.0:5000/>
46+
47+
**Note:** If you're on a Mac, then you may run into issues with the `heroku local` command above. To mitigate it, try commenting out the line with your `DATABASE_URL` variable from the `.env` file. Alternatively, you can uninstall the `psycopg2` driver and install its binary counterpart:
48+
49+
```console
50+
$ pip uninstall psycopg2
51+
$ pip install psycopg2-binary
52+
```

0 commit comments

Comments
 (0)