Spaces:
Running
Running
Download Makefile from MCP-1st-Birthday/codeAtlas: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/spaces/MCP-1st-Birthday/codeAtlas/resolve/main/Makefile
- Command line
-
hf download hf://spaces/MCP-1st-Birthday/codeAtlas/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/MCP-1st-Birthday/codeAtlas/resolve/main/Makefile
2.12 kB
| .PHONY: install run dev clean modal-deploy modal-install modal-login help | |
| # Python configuration | |
| PYTHON = python3 | |
| VENV = .venv | |
| VENV_PYTHON = $(VENV)/bin/python | |
| VENV_PIP = $(VENV)/bin/pip | |
| PORT = 7860 | |
| help: ## Show this help message | |
| install: ## Create venv and install dependencies | |
| sudo apt-get update -qq && sudo apt-get install -y -qq graphviz; \ | |
| elif command -v brew >/dev/null 2>&1; then \ | |
| brew install graphviz; \ | |
| elif command -v yum >/dev/null 2>&1; then \ | |
| sudo yum install -y graphviz; \ | |
| else \ | |
| echo "β οΈ Please install graphviz manually"; \ | |
| fi | |
| run: ## Run the application | |
| dev: ## Run with auto-reload | |
| modal-login: ## Authenticate with Modal (run once) | |
| modal-install: ## Install Modal CLI in venv | |
| modal-deploy: ## Deploy backend API to Modal | |
| clean: ## Remove venv and cache files | |