File | Date | Author | Commit |
---|---|---|---|
.idea | 2017-04-14 | Julien Lesbegueries | [4c78bb] test bpmn loading |
backend | 2017-10-20 | Julien Lesbegueries | [420562] fix |
frontend | 2017-10-20 | Julien Lesbegueries | [420562] fix |
test | 2017-03-29 | yhoupert | [cfcd5f] init commit with template |
.bowerrc | 2017-04-11 | yhoupert | [aa88d2] Add bpmn viewer |
.gitignore | 2017-03-29 | yhoupert | [cfcd5f] init commit with template |
Gruntfile.js | 2017-04-11 | yhoupert | [aa88d2] Add bpmn viewer |
ReadMe.md | 2017-04-11 | yhoupert | [aa88d2] Add bpmn viewer |
bower.json | 2017-04-19 | yhoupert | [9f821b] clean code |
index.js | 2017-08-25 | yhoupert | [f93a1f] add mongo deviation |
package.json | 2017-04-19 | yhoupert | [cb67ba] Add chart |
Read Me
Install
Prerequis
We assume that openpaas is already installed and is prerequis(npm and bower)
Generate File
Here the process to install the module for openpaas
- npm install
- bower install
- grunt browserify
Integrate it
Now this is quiet simple. Either copy your new module inside esn_repository_root/modules or create a symbolic link. Then register your module in the esn_repository_root/config/default.json file under the modules key.
Be aware that using a symbolic link will require to run npm install in the original directory of you module.
...
"modules": [
"linagora.esn.account",
"linagora.esn.appstore",
"linagora.esn.calendar",
"linagora.esn.contact",
"linagora.esn.contact.import",
"linagora.esn.contact.import.twitter",
"linagora.esn.contact.twitter",
"linagora.esn.core.webserver",
"linagora.esn.core.wsserver",
"linagora.esn.cron",
"linagora.esn.davproxy",
"linagora.esn.davserver",
"linagora.esn.digest.daily",
"linagora.esn.jobqueue",
"linagora.esn.graceperiod",
"linagora.esn.messaging.email",
"linagora.esn.oauth.consumer",
"linagora.esn.project",
"linagora.esn.unifiedinbox",
"esn.adaptation"
],
...
Note that here we have registered the esn.adaptation module. The name of the module is defined in the root index.js file.
javascript
var myAwesomeModule = new AwesomeModule('esn.adaptation', {
dependencies: [
...
],
...
}