Spaces:
Sleeping
Sleeping
Download Makefile from TheJackBright/polyguard-openenv: direct link, hf CLI and curl.
- Browser
- Download file 541 Bytes
-
https://huggingface.co/spaces/TheJackBright/polyguard-openenv/resolve/main/Makefile
- Command line
-
hf download hf://spaces/TheJackBright/polyguard-openenv/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/TheJackBright/polyguard-openenv/resolve/main/Makefile
541 Bytes
| VENV_DIR := .venv | |
| PYTHON := $(VENV_DIR)/bin/python | |
| PIP := $(VENV_DIR)/bin/pip | |
| $(PYTHON): | |
| python3 -m venv $(VENV_DIR) | |
| install: $(PYTHON) | |
| bash scripts/bootstrap_venv.sh | |
| test: $(PYTHON) | |
| PYTHONPATH=. $(PYTHON) -m pytest | |
| env: $(PYTHON) | |
| PYTHONPATH=. $(PYTHON) -m app.env.fastapi_app | |
| api: $(PYTHON) | |
| PYTHONPATH=. $(PYTHON) -m app.api | |
| ui: | |
| cd app/ui/frontend && npm install && npm run dev | |
| smoke: | |
| bash scripts/smoke_test_all.sh | |
| run-all: $(PYTHON) | |
| bash scripts/run_all_local.sh --full | |