Commit 80855542 authored by Nyashes's avatar Nyashes

readme

parent 0627f55a
......@@ -21,13 +21,17 @@ In order to work properly this module needs :
- `apt install nodejs`
- `apt install node`
- `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder
- `npm link mongodb`
- to download and install MongoDB
- For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community)
- 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
1. Install dependencies
......@@ -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")
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
You can add or edit "config.xml" in "input" folder in order to provide more information about your documents.
Supported information
......
......@@ -23,13 +23,17 @@ In order to work properly this module needs :
- `apt install nodejs`
- `apt install node`
- `apt install npm`
- `npm link mongodb` from hdoc_to_mongo folder
- `npm link mongodb`
- to download and install MongoDB
- For Windows :
- from the [MongoDB download page](https://www.mongodb.com/download-center#community)
- 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
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