2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 18:45:40 +00:00

Update docs for installing with PostgreSQL

- make target
- documentation
This commit is contained in:
Oliver Walters
2019-09-09 16:11:26 +10:00
parent e4dcbd2fda
commit ee73ea714e
3 changed files with 24 additions and 8 deletions

View File

@ -34,10 +34,14 @@ superuser:
# Install pre-requisites for mysql setup
mysql:
apt-get install mysql-server
apt-get install libmysqlclient-dev
apt-get install mysql-server libmysqlclient-dev
pip3 install mysqlclient
# Install pre-requisites for postgresql setup
postgresql:
apt-get install postgresql postgresql-contrib libpq-dev
pip3 install psycopg2
# Run PEP style checks against source code
style:
flake8 InvenTree
@ -66,4 +70,4 @@ backup:
python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate superuser install mysql style test coverage docreqs docs backup update
.PHONY: clean migrate superuser install mysql postgresql style test coverage docreqs docs backup update