Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ build-admin:
cd admin && \
yarn install --frozen-lockfile && \
yarn run export && \
mv dist ../cmd/hetty/admin
rm -rf ../cmd/hetty/admin && \
cp -R dist ../cmd/hetty/admin

.PHONY: clean
clean:
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,21 @@ scoop install hettysoft/hetty

Alternatively, you can [download the latest release from
GitHub](https://github.com/dstotijn/hetty/releases/latest) for your OS and
architecture, and move the binary to a directory in your `$PATH`. If your OS is
not available for one of the package managers or not listed in the GitHub
releases, you can compile from source _(link coming soon)_.
architecture, and move the binary to a directory in your `$PATH`.

If you want to compile from source, first build the admin frontend and then
build the Go binary:

```sh
make build-admin
go build ./cmd/hetty
```

To install the binary into your `$PATH`, run:

```sh
go install ./cmd/hetty
```

#### Docker

Expand Down