Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLechemia authored Dec 30, 2019
1 parent 0c74655 commit e813457
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ La configuration des mails utilise les paramètres définis pas Flask_mail. Pour

## Commande d'installation

- Faire un lien symbolique vers le répertoire `node_modules` de GeoNature

```
ln -s /home/`whoami`/geonature/frontend/node_modules /home/`whoami`/gn_module_export/frontend
```

- Lancer l'installation du module
```
source backend/venv/bin/activate
geonature install_gn_module /PATH_TO_MODULE/gn_module_export exports
Expand Down Expand Up @@ -83,22 +90,21 @@ Pour le volet Taxonomie, un travail expérimental a été réalisé : https://gi

- Téléchargez la nouvelle version du module

::

```
wget https://github.com/PnX-SI/gn_module_export/archive/X.Y.Z.zip
unzip X.Y.Z.zip
rm X.Y.Z.zip
```
- Renommez l'ancien et le nouveau répertoire
::

```
mv /home/`whoami`/gn_module_export /home/`whoami`/gn_module_export_old
mv /home/`whoami`/gn_module_export-X.Y.Z /home/`whoami`/gn_module_export_old
```
- Rappatriez les fichiers de configuration
::

```
cp /home/`whoami`/gn_module_export_old/config/conf_gn_module.toml /home/`whoami`/gn_module_export/config/conf_gn_module.toml
cp /home/`whoami`/gn_module_export_old/frontend/app/module.config.ts /home/`whoami`/gn_module_export/frontend/app/module.config.ts
cp /home/`whoami`/gn_module_export_old/frontend/app/module.config.ts /home/`whoami`/gn_module_export/frontend/app/module.config.ts```

1 comment on commit e813457

@camillemonchicourt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La nouvelle version n'est pas à renommer en _old

Please sign in to comment.