diff --git a/slop-terminal/Makefile b/slop-terminal/Makefile new file mode 100644 index 0000000..cd0c939 --- /dev/null +++ b/slop-terminal/Makefile @@ -0,0 +1,39 @@ +.PHONY: help setup install test run clean docker-build docker-run + +help: + @echo "Available commands:" + @echo " setup - Run initial setup (vars.sh)" + @echo " install - Install Python dependencies" + @echo " test - Run tests" + @echo " run - Start the server (slop_with_terminal.py)" + @echo " clean - Clean up generated files" + @echo " docker-build - Build Docker image" + @echo " docker-run - Run with Docker Compose" + +setup: + @echo "Setting up SLOP Terminal..." + chmod +x vars.sh + ./vars.sh + +install: + pip3 install -r requirements.txt + +test: + python3 -m pytest tests/ -v + +run: + python3 slop_with_terminal.py + +clean: + rm -rf __pycache__ .pytest_cache + rm -rf data/ + rm -rf bin/ + rm -rf firecracker/ + rm -rf downloads/ + rm -rf Scripts/ + +docker-build: + docker build -t slop-terminal . + +docker-run: + docker-compose up -d \ No newline at end of file