README update

This commit is contained in:
Stash Dev 2019-02-09 17:07:39 -08:00
parent 4bbea0202e
commit c39d4d4d40
1 changed files with 18 additions and 3 deletions

View File

@ -10,14 +10,29 @@ TODO
TODO
## Development
# Development
### Commands
## Environment
### macOS
TODO
### Windows
1. Download and install [Go for Windows](https://golang.org/dl/)
2. Download and install [MingW](https://sourceforge.net/projects/mingw-w64/)
3. Search for "advanced system settings" and open the system properties dialog.
1. Click the `Environment Variables` button
2. Add `GO111MODULE=on`
3. Under system variables find the `Path`. Edit and add `C:\Program Files\mingw-w64\*\mingw64\bin` (replace * with the correct path).
## Commands
* `make build` - Builds the binary
* `make gqlgen` - Regenerate Go GraphQL files
### Building a release
## Building a release
1. cd into the UI directory and run `ng build --prod`
2. cd back to the root directory and run `make build` to build the executable