Procédure (branche feat/sinp - GN ~v2.10.0-dev) :
git clone https://github.com/PnX-SI/gn_module_export.git
git checkout <branche ou tag>
cp config/conf_gn_module.toml.example config/conf_gn_module.toml
geonature install-packaged-gn-module <path/to/local/module/folder> EXPORTS
geonature update-configuration --build false && geonature generate-frontend-tsconfig && geonature generate-frontend-tsconfig-app && geonature generate-frontend-modules-route
nvm use
et npm run build
systemctl restart geonature
exports/usr_generated
, exports/schedules
et exports/dsw
/home/geonat/docker/preprod/nginx/sites-enabled/geonature.conf
) dans la section server {…}
: # Alias for Export module location "/exports/schedules" { alias /home/geonat/www/geonature/backend/static/exports/schedules; } location "/exports/users" { alias /home/geonat/www/geonature/backend/static/exports/usr_generated; }
nginx-reload
maintenance/data/sql/geonature_refresh.sql
)git pull
) /home/geonat/data
sur le serveur db-srv
du SINP AURAPour tester la consommation de la mémoire utilisée par les exports :
htop