2016-07-03 12:27:31 +00:00
|
|
|
SETTINGS = bornhack.settings.development
|
|
|
|
|
|
|
|
all: migrate superuser run
|
|
|
|
|
|
|
|
migrations:
|
2016-08-29 18:43:50 +00:00
|
|
|
./dev.sh makemigrations --settings=$(SETTINGS)
|
2016-07-03 12:27:31 +00:00
|
|
|
|
|
|
|
migrate:
|
2016-08-29 18:43:50 +00:00
|
|
|
./dev.sh migrate --settings=$(SETTINGS)
|
2016-07-03 12:27:31 +00:00
|
|
|
|
|
|
|
superuser:
|
2016-08-29 18:43:50 +00:00
|
|
|
./dev.sh createsuperuser --settings=$(SETTINGS)
|
2016-07-03 12:27:31 +00:00
|
|
|
|
|
|
|
run:
|
2016-08-29 18:43:50 +00:00
|
|
|
./dev.sh runserver --settings=$(SETTINGS)
|
2016-07-03 12:27:31 +00:00
|
|
|
|
|
|
|
.PHONY = all migrations migrate superuser run
|