Download algorithms/Makefile from Cuong2004/REMB: direct link, hf CLI and curl.
- Browser
- Download file 2.61 kB
-
https://huggingface.co/spaces/Cuong2004/REMB/resolve/main/algorithms/Makefile
- Command line
-
hf download hf://spaces/Cuong2004/REMB/algorithms/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Cuong2004/REMB/resolve/main/algorithms/Makefile
2.61 kB
| .PHONY: help build up down logs clean test-backend test-frontend restart | |
| help: ## Show this help message | |
| build: ## Build Docker images | |
| docker-compose build backend | |
| up: ## Start all services | |
| docker-compose up -d | |
| down: ## Stop all services | |
| docker-compose down | |
| logs: ## View logs from all services | |
| docker-compose logs -f | |
| logs-backend: ## View backend logs only | |
| docker-compose logs -f backend | |
| logs-frontend: ## View frontend logs only | |
| docker-compose logs -f frontend | |
| restart: ## Restart all services | |
| docker-compose restart | |
| clean: ## Stop services and remove volumes | |
| docker-compose down -v | |
| test-backend: ## Test backend container | |
| dev-backend: ## Run backend in development mode (without Docker) | |
| cd backend && uvicorn main:app --reload --port 8000 | |
| dev-frontend: ## Run frontend in development mode (without Docker) | |
| cd frontend && streamlit run app.py --server.port 8501 | |
| install-backend: ## Install backend dependencies | |
| cd backend && pip install -r requirements.txt | |
| install-frontend: ## Install frontend dependencies | |
| cd frontend && pip install -r requirements.txt | |
| install: install-backend install-frontend ## Install all dependencies | |
| status: ## Show status of services | |
| docker-compose ps | |
| health: ## Check health of running services | |