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.
21 lines
428 B
21 lines
428 B
SHELL := /bin/bash
|
|
|
|
all: clean build test
|
|
|
|
build:
|
|
docker-compose build
|
|
|
|
up:
|
|
docker-compose up -d
|
|
|
|
test: up
|
|
docker-compose exec personalpage-service /env/bin/python /app/manage.py test --noinput
|
|
|
|
migrate: up
|
|
docker-compose exec personalpage-service /env/bin/python /app/manage.py migrate
|
|
|
|
makemigrations: up
|
|
docker-compose exec personalpage-service /env/bin/python /app/manage.py makemigrations
|
|
|
|
.PHONY: build up test clean
|