Skip to content
Snippets Groups Projects
Verified Commit 664e5161 authored by Jan Maximilian Michal's avatar Jan Maximilian Michal
Browse files

Updated Makefile

parent b912e5d5
No related branches found
No related tags found
1 merge request!19Whitenoise
......@@ -24,6 +24,7 @@ static/
# project specific
env-grady/
env/
.venv/
scripts/
coverage_html/
public/
......
APP_LIST ?= core grady util
DB_NAME = postgres
VENV_PATH = .venv
.PHONY: collectstatic run install migrations-check isort isort-check
.PHONY: run install migrations-check isort isort-check test
collectstatic: # used only in production
python manage.py collectstatic --ignore node_modules
python manage.py compress --force
.venv:
python3.6 -m venv $(VENV_PATH)
run:
python manage.py runserver 0.0.0.0:8000
......@@ -19,19 +19,14 @@ isort:
isort-check:
isort -c -rc $(APP_LIST)
loaddata:
python manage.py loaddata core/fixtures/testdata-groups.json
loadexamples:
python manage.py loaddata core/fixtures/testdata-user.json
python manage.py loaddata core/fixtures/testdata-core.json
migrate:
python manage.py migrate
install:
pip install -r requirements.txt
yarn
test:
python manage.py test
DJANGO_SETTINGS_MODULE=grady.settings pytest
coverage:
coverage run manage.py test
......@@ -39,4 +34,3 @@ coverage:
db:
docker run --rm --name $(DB_NAME) -p 5432:5432 postgres:9.5
  • Jan Maximilian Michal @j.michal

    mentioned in issue #63 (closed)

    ·

    mentioned in issue #63 (closed)

    Toggle commit list
  • robinwilliam.hundt @robinwilliam.hundt ·
    Maintainer

    The backend part looks good and seems to be working. The login page is however broken for some reason, i'm trying to fix it.

    EDIT: Never mind, it was an issue propably caused by adblock/noscript and firefox...

    Edited by robinwilliam.hundt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment