|
Download README.md from axyut/niyam-api: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/spaces/axyut/niyam-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/axyut/niyam-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/axyut/niyam-api/resolve/main/README.md
483 Bytes
| title: Niyam API | |
| emoji: 🦀 | |
| colorFrom: blue | |
| colorTo: pink | |
| sdk: docker | |
| pinned: false | |
| # niyamAPI | |
| System for the Niyam project. | |
| https://axyut-niyam-api.hf.space/docs | |
| # Setup | |
| ## env setup | |
| ```bash | |
| cp example.env .env | |
| ``` | |
| then edit `.env` with required variables | |
| ## run with go | |
| ```bash | |
| go run . | |
| ``` | |
| ## run with air | |
| ```bash | |
| air | |
| ``` | |
| if you do not have air, install with, `go install github.com/air-verse/air@latest` | |
| ## with docker | |
| ```bash | |
| docker compose up --build | |
| ``` | |