23 lines
834 B
Makefile
23 lines
834 B
Makefile
.PHONY: help requirements docker-build docker-up docker-down clean start tunnels_up
|
|
|
|
help:
|
|
@echo "Available commands:"
|
|
@echo " make sync_requirements - Export dependencies from pyproject.toml to requirements.txt"
|
|
@echo " make tunnels_up - Start tunnels"
|
|
@echo " make compose_up - Run tunnels script and start Docker Compose"
|
|
|
|
sync_requirements:
|
|
@echo "Exporting dependencies from pyproject.toml to requirements.txt..."
|
|
uv export --format requirements-txt --no-hashes --no-dev -o Docker/requirements.txt
|
|
@echo "✓ requirements.txt updated successfully"
|
|
|
|
tunnels_up:
|
|
bash ./scripts/start-tunnels.sh < /dev/null &
|
|
@echo "✓ Tunnels started!"
|
|
|
|
compose_up:
|
|
bash ./scripts/start-tunnels.sh < /dev/null &
|
|
sleep 2
|
|
docker compose -f Docker/docker-compose.yaml up -d --build
|
|
@echo "✓ Done!"
|