Commit dbe218e9 authored by Kapilraj Thangeswaran's avatar Kapilraj Thangeswaran

Mise à jour run.sh et readme pour linux

parent 920f556b
......@@ -14,18 +14,19 @@ This module is able to extract data from a file in Hdoc format and insert them i
## Dependencies
In order to work properly this module needs :
- to download and install Node.js
For windows :
- For windows :
- from the [Node.js download page](https://nodejs.org/en/)
For linux (instruction for debian 8, may vary depending on your distrbution) execute the followings commands :
- For linux (instruction for debian 8, may vary depending on your distrbution) execute the followings commands :
- `su`
- `apt install nodejs`
- `apt install node`
- `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder
- to download and install MongoDB
For Windows :
- For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community)
For linux :
- For linux :
- `su & apt install mongodb`
## Instructions
......
......@@ -31,6 +31,4 @@ fi
#Lancer la commande
scJarList="$lib/*"
npm link mongodb
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
rm -rf node_modules
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
\ No newline at end of file
......@@ -16,18 +16,19 @@ In order to work properly this module needs :
- [`opale_to_hdoc`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/opale_to_hdoc) (Opale to Hdoc conversion)
- [`hdoc_to_mongo`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_mongo) (Hdoc to Mongo conversion)
- to download and install Node.js
For windows :
- For windows :
- from the [Node.js download page](https://nodejs.org/en/)
For linux (instruction for debian 8, may vary depending on your distrbution) execute the followings commands :
- For linux (instruction for debian 8, may vary depending on your distrbution) execute the followings commands :
- `su`
- `apt install nodejs`
- `apt install node`
- `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder
- to download and install MongoDB
For Windows :
- For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community)
For linux :
- For linux :
- `su & apt install mongodb`
## Instructions
......
......@@ -31,6 +31,4 @@ fi
#Lancer la commande
scJarList="$lib/*"
npm link mongodb
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
rm -rf node_modules
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment