hexya icon indicating copy to clipboard operation
hexya copied to clipboard

Make Hexya deployable through an executable bundle

Open halybang opened this issue 6 years ago • 3 comments

Hi, Hexya can not run with user other than build user. I build hexya with user A, then run with user B, or user root (for AutoTLS using port 80), hexya crash with error: panic: Error while getting Hexya root path: cannot find package "github.com/hexya-erp/hexya"

halybang avatar Mar 25 '18 04:03 halybang

Actually, the hexya executable is not the application you run, it just a helper application to build (to /tmp) and run the application, depending on the configuration you give it (especially the modules you selected). This means that for the hexya command to work, you need a full Go development environment, including a Go workspace.

So if user B has no Go dev environment, you cannot just run the hexya command.

We have plans to make bundles to deploy executable Hexya applications in the future.

npiganeau avatar Mar 25 '18 09:03 npiganeau