Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
dbe218e9
Commit
dbe218e9
authored
Jan 09, 2017
by
Kapilraj Thangeswaran
Browse files
Mise à jour run.sh et readme pour linux
parent
920f556b
Changes
4
Hide whitespace changes
Inline
Side-by-side
hdoc_to_mongo/README.md
View file @
dbe218e9
...
...
@@ -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
...
...
hdoc_to_mongo/run.sh
View file @
dbe218e9
...
...
@@ -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
opale_to_mongo/README.md
View file @
dbe218e9
...
...
@@ -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
...
...
opale_to_mongo/run.sh
View file @
dbe218e9
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment