mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-22 18:30:11 +00:00
Updated Build (markdown)
parent
fdff979579
commit
2c9422f055
4
Build.md
4
Build.md
@ -15,6 +15,8 @@ To build and load the container, you can then run
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Native
|
## Native
|
||||||
|
* Note: The build process doesn't really work on Windows, and I doubt there's a need for first class support. Your best bet is to build in WSL with either method below and the `GOOS=windows` environment variable set.
|
||||||
|
|
||||||
To build, you need to compile the typescript and go, and generate email templates and config files. The build scripts were mostly ripped out of jf-accounts, so you'll need similar dependencies:
|
To build, you need to compile the typescript and go, and generate email templates and config files. The build scripts were mostly ripped out of jf-accounts, so you'll need similar dependencies:
|
||||||
```
|
```
|
||||||
git
|
git
|
||||||
@ -23,7 +25,7 @@ go >= 1.15
|
|||||||
node.js and npm (for tsc/esbuild and mjml)
|
node.js and npm (for tsc/esbuild and mjml)
|
||||||
upx (optional, to compress the executable)
|
upx (optional, to compress the executable)
|
||||||
```
|
```
|
||||||
The main dependencies of the program will be automatically downloaded on compilation and can be seen in [go.mod](https://github.com/hrfee/jfa-go/blob/main/go.mod)
|
The main dependencies of the program will be automatically downloaded on compilation and can be seen in [go.mod](https://github.com/hrfee/jfa-go/blob/main/go.mod).
|
||||||
|
|
||||||
### Makefile
|
### Makefile
|
||||||
A Makefile is provided, which requires the `make` command. Simply clone the repository and run `make all` to grab all necessary dependencies for go/python/node, compile everything and place the executable and app data inside `build/`. You can optionally compress the executable by running `make compress` after.
|
A Makefile is provided, which requires the `make` command. Simply clone the repository and run `make all` to grab all necessary dependencies for go/python/node, compile everything and place the executable and app data inside `build/`. You can optionally compress the executable by running `make compress` after.
|
||||||
|
Loading…
Reference in New Issue
Block a user