Merge pull request #157 from tawoe/psycopg

uncomment psycopg2
This commit is contained in:
Simon Redfern 2022-01-05 05:55:12 -06:00 committed by GitHub
commit 6bff0029f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -31,6 +31,15 @@ The directory tree might look like:
## Install dependencies
**Either install psycopg2 from source or from your os distribution (preferred),
or uncomment #psycopg2-binary to psycopg2-binary:**
```bash
$ sed -i 's/#psycopg2-binary/psycopg2-binary/' requirements.txt # (optional see above)
```
```bash
$ virtualenv --python=python3 ../venv
$ source ../venv/bin/activate

View File

@ -9,4 +9,5 @@ matplotlib
django-bootstrap-datepicker-plus==3.0.5
django-mathfilters
django-bootstrap3
psycopg2==2.9.1
#uncomment below if you cannot / want not install psycopg2 from source or distribution package
#psycopg2-binary