Moving makefile to poetry
This commit is contained in:
@@ -9,15 +9,17 @@ test: check
|
||||
check:
|
||||
poetry run ruff check app
|
||||
|
||||
build:
|
||||
poetry build
|
||||
|
||||
dev-setup:
|
||||
env/bin/pip install -r requirements.txt
|
||||
env/bin/pip install -r dev-requirements.txt
|
||||
${PYTHON} manage.py migrate
|
||||
${PYTHON} manage.py createsuperuser --username admin --email admin@localhost
|
||||
poetry install --with=dev
|
||||
poetry run manage migrate
|
||||
poetry run manage createsuperuser --username admin --email admin@localhost
|
||||
|
||||
upgrade:
|
||||
${PYTHON} manage.py migrate
|
||||
${PYTHON} manage.py collectstatic
|
||||
poetry run manage migrate
|
||||
poetry run manage collectstatic
|
||||
${MAKE} libraries
|
||||
|
||||
libraries: static/dropzone static/fonts/Quicksand_Book.otf
|
||||
|
||||
Reference in New Issue
Block a user