d6cdf1276d | ||
---|---|---|
assets/css | ||
config | ||
controllers | ||
models | ||
static | ||
views/events | ||
.gitignore | ||
README.md | ||
index.js | ||
package.json | ||
routes.js | ||
util.js |
README.md
webmaker-events
Pluggable events app for Mozilla Webmaker
Integrating into Webmaker
Add the following line to app.js
:
require("webmaker-events").init(app, nunjucksEnv);
where app
is the Express app, and nunjucksEnv
is to add a custom
file-loader to nunjucks before calling nunjucksEnv.express(app)
.
To add webmaker-events
to the dependency list in package.json
,
"webmaker-events": "git://github.com/AmoebaConsulting/webmaker-events.git"
Take a look at AmoebaConsulting/webmaker.org#events for all the changes required to get it working with Webmaker.