Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Hexya deployable through an executable bundle #26

Open
halybang opened this issue Mar 25, 2018 · 1 comment
Open

Make Hexya deployable through an executable bundle #26

halybang opened this issue Mar 25, 2018 · 1 comment

Comments

@halybang
Copy link

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"

@npiganeau
Copy link
Member

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 npiganeau changed the title Can not run with different user Make Hexya deployable through an executable bundle Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants