[INSTALL] Decoupling instlall GN to $HOME directory and use nvm in shared system #3941
Open
andriacap wants to merge 4 commits intoPnX-SI:developfrom
Open
[INSTALL] Decoupling instlall GN to $HOME directory and use nvm in shared system #3941andriacap wants to merge 4 commits intoPnX-SI:developfrom
andriacap wants to merge 4 commits intoPnX-SI:developfrom
Conversation
…asculer NVM en installation système partagée - add install_root_dir/geonature_dir/usershub_dir in install_all.ini to decouple install paths from user home - update install_all.sh to resolve target dirs from these variables and create/chown parent directories before download/clone - install NVM in /usr/local/nvm (instead of ~/.nvm) and publish NVM_DIR via /etc/profile.d/geonature-nvm.sh - update backend/frontend install scripts to prefer /usr/local/nvm, fallback to user nvm, and fail fast with clear error if nvm is unavailable - update standalone/global installation docs to recommend /opt and document system-wide NVM behavior - refresh Apache alias examples in docs to /opt/geonature/frontend/dist Reviewed-by: andriac
…ystem-wide NVM - use TaxHub default path relative to old GeoNature directory before falling back to $HOME/taxhub - align nvm loading with install scripts: prefer /usr/local/nvm, fallback to user nvm - fail fast with explicit error when nvm is unavailable during migration - keep backward compatibility with legacy /home-based installations Reviewed-by: andriacap
…ging /opt owner - add app_user/app_group in install_all.ini and settings.ini.sample - validate app_user/app_group in install_all.sh and apply ownership on app dirs only - avoid chown on install root parent (e.g. /opt), keep ownership scoped to geonature/usershub dirs - run systemd config step with USER=app_user for service file generation consistency - update installation docs (all + standalone) to document app_user/app_group and /opt/geonature ownership pattern Reviewed-by: andriacap
- Execute install_all.sh in no more mandatory Reviewed-by: andriacap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cette PR fait référence à cette issue : #3935 .
Le contexte qu'est censé couvrir cette PR :
N'hésitez pas à tester et faire des retours !