Download Makefile from lbl/redaction: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/spaces/lbl/redaction/resolve/main/Makefile
- Command line
-
hf download hf://spaces/lbl/redaction/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/lbl/redaction/resolve/main/Makefile
678 Bytes
| .PHONY: help build up down logs test clean | |
| # Default target | |
| help: | |
| @echo "🛡️ Redac Management Commands:" | |
| @echo " make build - Build all Docker containers" | |
| @echo " make up - Start the project in the background" | |
| @echo " make down - Stop and remove containers" | |
| @echo " make logs - Follow the logs" | |
| @echo " make test - Run the API test suite" | |
| @echo " make clean - Remove unused Docker images and volumes" | |
| build: | |
| docker compose build | |
| up: | |
| docker compose up -d | |
| down: | |
| docker compose down | |
| logs: | |
| docker compose logs -f | |
| test: | |
| docker compose run --rm api python tests/verify_all.py | |
| clean: | |
| docker system prune -f | |
| docker volume prune -f | |