mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Simplify makefile again
- Remove setup target - Fix travis
This commit is contained in:
parent
10ca3b1b93
commit
0480925186
@ -11,7 +11,6 @@ addons:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- make install
|
- make install
|
||||||
- make setup
|
|
||||||
- make migrate
|
- make migrate
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
7
Makefile
7
Makefile
@ -22,11 +22,6 @@ install:
|
|||||||
pip3 install -U -r requirements.txt
|
pip3 install -U -r requirements.txt
|
||||||
python3 InvenTree/setup.py
|
python3 InvenTree/setup.py
|
||||||
|
|
||||||
# Perform initial database setup
|
|
||||||
setup:
|
|
||||||
$(MAKE) migrate
|
|
||||||
$(MAKE) superuser
|
|
||||||
|
|
||||||
# Create a superuser account
|
# Create a superuser account
|
||||||
superuser:
|
superuser:
|
||||||
python3 InvenTree/manage.py createsuperuser
|
python3 InvenTree/manage.py createsuperuser
|
||||||
@ -65,4 +60,4 @@ backup:
|
|||||||
python3 InvenTree/manage.py dbbackup
|
python3 InvenTree/manage.py dbbackup
|
||||||
python3 InvenTree/manage.py mediabackup
|
python3 InvenTree/manage.py mediabackup
|
||||||
|
|
||||||
.PHONY: clean migrate setup superuser install mysql style test coverage docreqs docs backup
|
.PHONY: clean migrate superuser install mysql style test coverage docreqs docs backup
|
Loading…
x
Reference in New Issue
Block a user