update build instructiosn

This commit is contained in:
Arya Kiran 2023-08-27 21:55:16 +05:30
parent e23e61adfd
commit df42b53e57
No known key found for this signature in database
GPG key ID: 842D12BDA50DF120

View file

@ -15,8 +15,13 @@ I'm initially focusing on the api and engines, but eventually Mozhi will have a
- MyMemory
- DuckDuckGo (almost 1-1 with Bing Translate)
## Installation
Just `go build` and you're done :D
## Building
```
go mod download
go install github.com/swaggo/swag/cmd/swag@latest
swag init
go build -o mozhi
```
## API Docs
Mozhi makes use of swagger (with the swagger fiber middleware) to manage the documentation of the API.