Pluggable events app for Mozilla Webmaker
Перейти к файлу
Hike Danakian f9c5490638 Added db migration script and directory. 2013-07-16 04:55:40 -07:00
assets/css Bug 893631 - Events search UI improvements 2013-07-15 19:23:49 -07:00
config Added db migration script and directory. 2013-07-16 04:55:40 -07:00
controllers Include only select fields in events.json output (removed createdAt/updatedAt). 2013-07-16 04:55:40 -07:00
fixtures Better handling of fixtures, drop db before loading initial data. 2013-07-16 04:55:40 -07:00
migrations Added db migration script and directory. 2013-07-16 04:55:40 -07:00
models Better handling of fixtures, drop db before loading initial data. 2013-07-16 04:55:40 -07:00
scripts Added db migration script and directory. 2013-07-16 04:55:40 -07:00
static Automatically filter pins on load, and misc event-search fixes. 2013-07-16 04:53:26 -07:00
views/events Bug 893631 - Events search UI improvements 2013-07-15 19:23:49 -07: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 Better handling of fixtures, drop db before loading initial data. 2013-07-16 04:55:40 -07:00
package.json 0.1.9 2013-07-12 15:03:47 -04:00
routes.js Let Owners edit their Events in details-view 2013-06-11 13:23:38 -07:00
util.js Added db migration script and directory. 2013-07-16 04:55:40 -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.