From df42b53e57a5e3911ac891308774339b6c13c831 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Sun, 27 Aug 2023 21:55:16 +0530 Subject: [PATCH] update build instructiosn --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 729e104..82f4db0 100644 --- a/README.md +++ b/README.md @@ -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.