2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Merge pull request #149 from SchrodingersGat/get_absolute_url

Get absolute url
This commit is contained in:
Oliver
2019-04-25 13:40:10 +10:00
committed by GitHub
20 changed files with 239 additions and 73 deletions

View File

@ -11,11 +11,8 @@ style:
flake8 InvenTree --ignore=C901,E501
test:
# Perform Django system checks
python InvenTree/manage.py check
# Run the test framework (through coverage script)
coverage run InvenTree/manage.py test
python manage.py test build company part stock
migrate:
python InvenTree/manage.py makemigrations company
@ -26,7 +23,6 @@ migrate:
python InvenTree/manage.py check
install:
# TODO: replace this with a proper setup.py
pip install -U -r requirements/base.txt
# Generate a secret key
@ -37,5 +33,10 @@ setup: install migrate
setup_ci:
pip install -U -r requirements/build.txt
coverage:
python InvenTree/manage.py check
coverage run InvenTree/manage.py test build company part stock
coverage html
superuser:
python InvenTree/manage.py createsuperuser