From 8210b6375382ebaf14e81a308e14c96b4508255f Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 12 Jun 2023 12:17:33 +0200 Subject: [PATCH] Update README.md Removed WebUI references --- README.md | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/README.md b/README.md index 320d76b..e0fb553 100644 --- a/README.md +++ b/README.md @@ -64,30 +64,13 @@ You need to: * Write API code inside `service/api`, and create any further package inside `service/` (or subdirectories) ## How to build -If you're not using the WebUI, or if you don't want to embed the WebUI into the final executable, then: +To run backend open terminal and write: ```shell go build ./cmd/webapi/ ``` -If you're using the WebUI and you want to embed it into the final executable: -```shell -./open-npm.sh -# (here you're inside the NPM container) -npm run build-embed -exit -# (outside the NPM container) -go build -tags webui ./cmd/webapi/ -``` - ## How to run (in development mode) You can launch the backend only using: ```shell go run ./cmd/webapi/ ``` - -If you want to launch the WebUI, open a new tab and launch: -```shell -./open-npm.sh -# (here you're inside the NPM container) -npm run dev -```