From a3146926b1cadb8f9718716300d6cbc444cf4abe Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Thu, 25 Feb 2021 16:51:24 +0000 Subject: [PATCH] update docs --- doc/build.md | 17 ++++++++++++++ doc/{changelog.txt => changelog.md} | 0 doc/hacking.md | 28 ----------------------- doc/install.md | 33 +++++++++++++++++----------- doc/{platform.md => technotes.md} | 0 {artwork => etc}/promo.png | Bin {artwork => etc}/promo.xml | 0 readme.md | 12 ++++------ 8 files changed, 41 insertions(+), 49 deletions(-) create mode 100644 doc/build.md rename doc/{changelog.txt => changelog.md} (100%) delete mode 100644 doc/hacking.md rename doc/{platform.md => technotes.md} (100%) rename {artwork => etc}/promo.png (100%) rename {artwork => etc}/promo.xml (100%) diff --git a/doc/build.md b/doc/build.md new file mode 100644 index 0000000..3bc0a35 --- /dev/null +++ b/doc/build.md @@ -0,0 +1,17 @@ +Install `Go >= 1.14` and `gcc`. Get the source code: + + git clone https://github.com/nkanaev/yarr.git + git clone https://github.com/nkanaev/gofeed.git yarr/gofeed + +Then run one of the corresponding commands: + + # create a binary for the host os + make build_macos # -> _output/macos/yarr.app + make build_linux # -> _output/linux/yarr + make build_windows # -> _output/windows/yarr.exe + + # ... or start a dev server locally + go run main.go # starts a server at http://localhost:7070 + + # ... or build a docker image + docker build -t yarr . diff --git a/doc/changelog.txt b/doc/changelog.md similarity index 100% rename from doc/changelog.txt rename to doc/changelog.md diff --git a/doc/hacking.md b/doc/hacking.md deleted file mode 100644 index eb282af..0000000 --- a/doc/hacking.md +++ /dev/null @@ -1,28 +0,0 @@ -# hacking - -## build - -Install `Go >= 1.14` and `gcc`. Get the source code: - -```sh -git clone https://github.com/nkanaev/yarr.git -git clone https://github.com/nkanaev/gofeed.git -mv gofeed yarr -cd yarr -``` - -Then: - -```sh -# create a binary for the host os -make build_macos # -> _output/macos/yarr.app -make build_linux # -> _output/linux/yarr -make build_windows # -> _output/windows/yarr.exe - -# ... or run locally (for testing & hacking) -go run main.go # starts a server at http://localhost:7070 -``` - -## code of conduct - -Be excellent to each other. Party on, dudes! diff --git a/doc/install.md b/doc/install.md index 79e5e89..2ee2952 100644 --- a/doc/install.md +++ b/doc/install.md @@ -1,15 +1,22 @@ -# Linux desktop +The latest binary releases for MacOS/Windows/Linux are available +[here](https://github.com/nkanaev/yarr/releases/latest). -Grab the latest linux binary, then run: +## install (linux) -``` -$ sudo mv /path/to/yarr /usr/local/bin -$ sudo tee /usr/local/share/applications/yarr.desktop >/dev/null <