Download BELEL-LEX/Makefile from TTOPM/belel-protocol: direct link, hf CLI and curl.
- Browser
- Download file 762 Bytes
-
https://huggingface.co/TTOPM/belel-protocol/resolve/main/BELEL-LEX/Makefile
- Command line
-
hf download hf://TTOPM/belel-protocol/BELEL-LEX/Makefile
-
curl -L -o Makefile https://huggingface.co/TTOPM/belel-protocol/resolve/main/BELEL-LEX/Makefile
762 Bytes
| .PHONY: help dev prod test lint sbom hash manifest | |
| help: | |
| @echo "Targets: dev, prod, test, lint, sbom, hash, manifest" | |
| dev: | |
| python -m venv .venv && . .venv/bin/activate && pip install -U pip && pip install fastapi uvicorn pydantic httpx rich | |
| UVICORN_RELOAD=true uvicorn belellex.server.app:app --reload | |
| prod: | |
| python -m venv .venv && . .venv/bin/activate && pip install -U pip && pip install fastapi uvicorn pydantic gunicorn | |
| gunicorn -k uvicorn.workers.UvicornWorker belellex.server.app:app --bind 0.0.0.0:8000 | |
| test: | |
| @echo "Add unit tests (pytest)"; exit 0 | |
| lint: | |
| @echo "Add linter (ruff/flake8)"; exit 0 | |
| sbom: | |
| @echo "SBOM placeholder" > dist/SBOM.txt | |
| hash: | |
| @python scripts/release/hash_all.py | |
| manifest: | |
| @python scripts/release/build_manifest.py | |