Add new file
This commit is contained in:
parent
a9bd9870e6
commit
6f657e8ac0
1 changed files with 39 additions and 0 deletions
39
slop-terminal/Makefile
Normal file
39
slop-terminal/Makefile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue