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

Copy config template to config file if it does not exist

This commit is contained in:
Oliver Walters
2019-08-14 12:05:47 +10:00
parent b7391231aa
commit 905c02d86f
5 changed files with 84 additions and 67 deletions

View File

@ -19,13 +19,13 @@ migrate:
requirements:
pip3 install -U -r requirements.txt
secret:
python3 InvenTree/keygen.py
setup:
python3 InvenTree/setup.py
superuser:
python3 InvenTree/manage.py createsuperuser
install: requirements secret migrate superuser
install: requirements setup migrate superuser
mysql:
apt-get install mysql-server
@ -52,4 +52,4 @@ backup:
python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate requirements secret superuser install mysql style test coverage documentation backup
.PHONY: clean migrate requirements setup superuser install mysql style test coverage documentation backup