Add `libpq-dev` to instructions

Fixes #238
This commit is contained in:
Ohad Lutzky 2021-07-06 21:35:40 +01:00 committed by Christopher Charbonneau Wells
parent c1769c3923
commit c31b2b5519
2 changed files with 5 additions and 1 deletions

View File

@ -99,6 +99,8 @@ documentation section: [Translation](https://docs.djangoproject.com/en/3.0/topic
- Python 3.6+, pip, pipenv - Python 3.6+, pip, pipenv
- NodeJS 14.x and NPM 7.x - NodeJS 14.x and NPM 7.x
- Gulp - Gulp
- Possibly `libpq-dev`
- This is necessary if `psycopg2` can't find an appropriate prebuild binary.
### Installation ### Installation
@ -108,6 +110,8 @@ documentation section: [Translation](https://docs.djangoproject.com/en/3.0/topic
pipenv install --three pipenv install --three
- If this fails, install `libpq-dev` (e.g. `sudo apt install libpq-dev`) and try again.
1. Install Gulp CLI 1. Install Gulp CLI
sudo npm install -g gulp-cli sudo npm install -g gulp-cli

View File

@ -161,7 +161,7 @@ Python 3.6+, nginx, uwsgi and sqlite and should be sufficient for a few users
1. Install system packages 1. Install system packages
sudo apt-get install python3 python3-pip nginx uwsgi uwsgi-plugin-python3 git libopenjp2-7-dev sudo apt-get install python3 python3-pip nginx uwsgi uwsgi-plugin-python3 git libopenjp2-7-dev libpq-dev
1. Default python3 to python for this session 1. Default python3 to python for this session