Add make target to install mysql requirements

This commit is contained in:
Oliver Walters 2019-08-14 11:23:48 +10:00
parent 6f45803eec
commit 01c6852f96

View File

@ -27,6 +27,11 @@ superuser:
install: requirements secret migrate superuser
mysql:
apt-get install mysql-server
apt-get install libmysqlclient-dev
pip3 install mysqlclient
style:
flake8 InvenTree
@ -47,4 +52,4 @@ backup:
python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate requirements secret superuser install style test coverage documentation backup
.PHONY: clean migrate requirements secret superuser install mysql style test coverage documentation backup