Moving makefile to poetry
This commit is contained in:
parent
cfd6d45189
commit
504c2ee56b
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ poetry.lock
|
|||||||
/local_storage
|
/local_storage
|
||||||
/media
|
/media
|
||||||
/index
|
/index
|
||||||
|
/dist
|
||||||
|
|||||||
14
Makefile
14
Makefile
@ -9,15 +9,17 @@ test: check
|
|||||||
check:
|
check:
|
||||||
poetry run ruff check app
|
poetry run ruff check app
|
||||||
|
|
||||||
|
build:
|
||||||
|
poetry build
|
||||||
|
|
||||||
dev-setup:
|
dev-setup:
|
||||||
env/bin/pip install -r requirements.txt
|
poetry install --with=dev
|
||||||
env/bin/pip install -r dev-requirements.txt
|
poetry run manage migrate
|
||||||
${PYTHON} manage.py migrate
|
poetry run manage createsuperuser --username admin --email admin@localhost
|
||||||
${PYTHON} manage.py createsuperuser --username admin --email admin@localhost
|
|
||||||
|
|
||||||
upgrade:
|
upgrade:
|
||||||
${PYTHON} manage.py migrate
|
poetry run manage migrate
|
||||||
${PYTHON} manage.py collectstatic
|
poetry run manage collectstatic
|
||||||
${MAKE} libraries
|
${MAKE} libraries
|
||||||
|
|
||||||
libraries: static/dropzone static/fonts/Quicksand_Book.otf
|
libraries: static/dropzone static/fonts/Quicksand_Book.otf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user