You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could of course set the HOME variable to something else
That would make it inconvenient to run other types of programs in this container.
Or I could mount a volume inside $HOME/.enonic
Totally possible I guess
What I would like though, would be a separate environment variable. Something like ENONIC_ROOT
From skimming the codebase I see this would also be helpful in terms of utility functions. Currently theres a GetHomeDir which is usually used to join path with HOME and .enonic. How about a GetEnonicDir where you don't have to join it, and you are allowed to override it? Falling back to GetHomeDir for backwards compatibility. Something worth considering?
The text was updated successfully, but these errors were encountered:
My use case is to use docker for development.
I could of course set the HOME variable to something else
That would make it inconvenient to run other types of programs in this container.
Or I could mount a volume inside $HOME/.enonic
Totally possible I guess
What I would like though, would be a separate environment variable. Something like ENONIC_ROOT
From skimming the codebase I see this would also be helpful in terms of utility functions. Currently theres a
GetHomeDir
which is usually used to join path with HOME and.enonic
. How about a GetEnonicDir where you don't have to join it, and you are allowed to override it? Falling back to GetHomeDir for backwards compatibility. Something worth considering?The text was updated successfully, but these errors were encountered: