mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
README update
This commit is contained in:
21
README.md
21
README.md
@@ -10,14 +10,29 @@ TODO
|
|||||||
|
|
||||||
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 build` - Builds the binary
|
||||||
* `make gqlgen` - Regenerate Go GraphQL files
|
* `make gqlgen` - Regenerate Go GraphQL files
|
||||||
|
|
||||||
### Building a release
|
## Building a release
|
||||||
|
|
||||||
1. cd into the UI directory and run `ng build --prod`
|
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
|
2. cd back to the root directory and run `make build` to build the executable
|
||||||
|
|||||||
Reference in New Issue
Block a user