You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
497 B
27 lines
497 B
SHELL := /bin/bash
|
|
|
|
all: build test
|
|
|
|
build:
|
|
docker-compose build
|
|
|
|
up:
|
|
docker-compose up -d
|
|
|
|
down:
|
|
docker-compose down --remove-orphans
|
|
|
|
shell:
|
|
docker-compose run shuttleapp /env/bin/python /app/manage.py shell
|
|
|
|
test: up
|
|
docker-compose exec shuttleapp /env/bin/python /app/manage.py test
|
|
|
|
migrate: up
|
|
docker-compose exec shuttleapp /env/bin/python /app/manage.py migrate
|
|
|
|
makemigrations: up
|
|
docker-compose exec shuttleapp /env/bin/python /app/manage.py makemigrations
|
|
|
|
.PHONY: build up test
|