hereditas pack
pack a box into a self-contained binary
Description
After building a box with Hereditas, the hereditas pack
command allows you to generate a self-contained binary (for Windows, macOS and Linux) that contains your Hereditas box and all of its contents. Depending on your use case, this single binary might be easier to distribute.
Note that this command has some pre-requisites:
- You need to have the Go compiler installed (version 1.13 or higher)
- You need to have packr2 installed in your path (see https://github.com/gobuffalo/packr/tree/master/v2)
- Your Hereditas box must be already built
(run
hereditas build
beforehand) - The URL
http://localhost:8080
must be allowed for this box (runhereditas url:add -u http://localhost:8080
)
Example usage
hereditas pack