README: Change instructions to use make ui

This commit is contained in:
Friendly C 2019-10-15 17:03:01 +02:00
parent e8bbaa4254
commit 080d80117b

View file

@ -90,14 +90,15 @@ TODO
* `make generate` - Generate Go GraphQL and packr2 files
* `make build` - Builds the binary (make sure to build the UI as well... see below)
* `make ui` - Builds the frontend
* `make vet` - Run `go vet`
* `make lint` - Run the linter
## Building a release
1. Run `make generate` to create generated files
2. cd into the `ui/v2` directory and run `yarn build` to compile the frontend
3. cd back to the root directory and run `make build` to build the executable for your current platform
2. Run `make ui` to compile the frontend
3. Run `make build` to build the executable for your current platform
## Cross compiling