From 6e263df6c0b35243749ab3fafd4419a49bd211f8 Mon Sep 17 00:00:00 2001 From: jam <41418470+Sardonyx001@users.noreply.github.com> Date: Tue, 22 Oct 2024 18:39:28 +0900 Subject: [PATCH] docs: use correct go command to install deps --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4d16be0..9781a40 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ Openbooks allows you to download ebooks from irc.irchighway.net quickly and easi openbooks screenshot - ## Getting Started ### Binary @@ -46,13 +45,13 @@ two modes; Server or CLI. In CLI mode you interact and download books through a terminal interface. In server mode the application runs as a web application that you can visit in your browser. -Double clicking the executable will open the UI in your browser. In the future it may use [webviews](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) to provide a "native-like" desktop application. +Double clicking the executable will open the UI in your browser. In the future it may use [webviews](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) to provide a "native-like" desktop application. ## Development ### Install the dependencies -- `go get` +- `go mod tidy` - `cd server/app && npm install` - `cd ../..` - `go run main.go` @@ -79,14 +78,14 @@ Double clicking the executable will open the UI in your browser. In the future i ``` ### Desktop App + Compile OpenBooks with experimental webview support: -``` shell +```shell cd cmd/openbooks go build -tags webview ``` - ## Why / How - I wrote this as an easier way to search and download books from irchighway.net. It handles all the extraction and data processing for you. You just have to click the book you want. Hopefully you find it much easier than the IRC interface.