Pluggable events app for Mozilla Webmaker
Перейти к файлу
Dale Karp e379eed6ff [bug 886480] Centre World View 2013-07-11 10:51:59 -04:00
assets/css improve responsive event-create form media query 2013-06-19 19:20:06 -07:00
config Implemented "call to action" bar at bottom of Events page. 2013-06-12 07:48:02 -07:00
controllers Created markdown template filter. 2013-06-12 18:25:15 -07:00
models Improved time fields. 2013-06-11 22:36:18 -07:00
static [bug 886480] Centre World View 2013-07-11 10:51:59 -04:00
views/events [bug 890872] Prompt users to sign in to save events 2013-07-10 10:53:49 -04:00
.gitignore [bug 890872] Prompt users to sign in to save events 2013-07-10 10:53:49 -04:00
README.md Minor fix to repo link in README. 2013-06-03 14:40:04 -07:00
index.js Created markdown template filter. 2013-06-12 18:25:15 -07:00
package.json 0.1.7 2013-07-10 15:08:54 -04:00
routes.js Let Owners edit their Events in details-view 2013-06-11 13:23:38 -07:00
util.js Improved time fields. 2013-06-11 22:36:18 -07:00

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.