Commit 80855542 authored by Nyashes's avatar Nyashes

readme

parent 0627f55a
...@@ -21,13 +21,17 @@ In order to work properly this module needs : ...@@ -21,13 +21,17 @@ In order to work properly this module needs :
- `apt install nodejs` - `apt install nodejs`
- `apt install node` - `apt install node`
- `apt install npm` - `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder - `npm link mongodb`
- to download and install MongoDB - to download and install MongoDB
- For Windows : - For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community) - from the [MongoDB download page](https://www.mongodb.com/download-center#community)
- For linux : - For linux :
- `su & apt install mongodb` - `# apt install mongodb`
- `# echo 'jsonp=true' >> /etc/mongodb.conf`
- `# echo 'rest=true' >> /etc/mongodb.conf`
- on a virtual machine or a small system ONLY : `# echo 'smallfiles=true' >> /etc/mongodb.conf`
- `# service mongodb restart`
## Instructions ## Instructions
1. Install dependencies 1. Install dependencies
...@@ -43,6 +47,13 @@ This module provides a Web application to access MongoDB and execute simples req ...@@ -43,6 +47,13 @@ This module provides a Web application to access MongoDB and execute simples req
2. Edit "config.json" file from "web" folder (for more details, please check "MongoDB configuration") 2. Edit "config.json" file from "web" folder (for more details, please check "MongoDB configuration")
3. Open "index.html" in "web" folder 3. Open "index.html" in "web" folder
## Setting up a mongodb server as service on linux
`# apt install mongodb`
`# echo 'jsonp=true' >> /etc/mongodb.conf`
`# echo 'rest=true' >> /etc/mongodb.conf`
on a virtual machine or a small system ONLY : `# echo 'smallfiles=true' >> /etc/mongodb.conf`
`# service mongodb restart`
## Input configuration ## Input configuration
You can add or edit "config.xml" in "input" folder in order to provide more information about your documents. You can add or edit "config.xml" in "input" folder in order to provide more information about your documents.
Supported information Supported information
......
...@@ -23,13 +23,17 @@ In order to work properly this module needs : ...@@ -23,13 +23,17 @@ In order to work properly this module needs :
- `apt install nodejs` - `apt install nodejs`
- `apt install node` - `apt install node`
- `apt install npm` - `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder - `npm link mongodb`
- to download and install MongoDB - to download and install MongoDB
- For Windows : - For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community) - from the [MongoDB download page](https://www.mongodb.com/download-center#community)
- For linux : - For linux :
- `su & apt install mongodb` - `# apt install mongodb`
- `# echo 'jsonp=true' >> /etc/mongodb.conf`
- `# echo 'rest=true' >> /etc/mongodb.conf`
- on a virtual machine or a small system ONLY : `# echo 'smallfiles=true' >> /etc/mongodb.conf`
- `# service mongodb restart`
## Instructions ## Instructions
1. Install dependencies 1. Install dependencies
......
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