onepanel/helper
Andrey Melnikov 3a5fc3894b chore: codacy
2020-12-18 20:17:07 -08:00
..
Dockerfile chore: codacy 2020-12-18 19:36:23 -08:00
go.mod update: helper image to interact with core 2020-12-17 15:59:09 -08:00
go.sum update: helper image to interact with core 2020-12-17 15:59:09 -08:00
README.md chore: codacy 2020-12-18 19:36:23 -08:00
tools.go chore: codacy 2020-12-18 20:17:07 -08:00

Onepanel Core Helper

Helper provides the files to build a Docker image to assist with code generation for the onepanel-core project.

In particular, you can use the docker image to generate all of the gRPC related files, as well as create migrations.

Build

To build, it should be sufficient to run

docker build -t onepanel/helper:v1.0.0 .

Updating

Create a new directory somewhere outside of this project.

Copy the tools.go file there and change into that directory in your terminal.

Run

go mod init onepanel-tools
go mod tidy

Then, take the go.mod and go.sum files and copy them back here.

Then run the # Build steps.