Add new file

This commit is contained in:
Groupr 2025-07-17 01:49:30 +00:00
parent a9bd9870e6
commit 6f657e8ac0

39
slop-terminal/Makefile Normal file
View file

@ -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