-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (30 loc) · 922 Bytes
/
Copy pathMakefile
File metadata and controls
38 lines (30 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# =============================================
# Web-Scrape-Notifier - Makefile
# =============================================
.PHONY: help test build up down logs clean
# Default target
help:
@echo "🕷️ Web-Scrape-Notifier - Available commands:"
@echo ""
@echo " make help - Show this help message! (ᵔᵕᵔ)ノ"
@echo " make test - Run unit tests locally"
@echo " make build - Build docker image"
@echo " make up - Start the docker container"
@echo " make down - Stop the docker container"
@echo " make logs - View container logs"
@echo " make clean - Remove containers and volumes"
@echo ""
test:
python -m unittest discover -s tests -v
build:
docker compose build
up:
docker compose up -d
down:
docker compose down
clean:
docker compose down -v --rmi local
restart:
$(MAKE) down
$(MAKE) build
$(MAKE) up