Pluggable events app for Mozilla Webmaker
Перейти к файлу
Hike Danakian 906ef521d8 Allow organizer to update event attendee count. 2013-07-22 11:51:00 -07:00
assets/css Allow organizer to update event attendee count. 2013-07-22 11:51:00 -07:00
config Fixed details page admin-related breakage when user not logged in. 2013-07-22 00:10:10 -07:00
controllers Allow organizer to update event attendee count. 2013-07-22 11:51:00 -07:00
fixtures Better handling of fixtures, drop db before loading initial data. 2013-07-16 04:55:40 -07:00
migrations Added city/country fields to Event. 2013-07-22 10:39:33 -07:00
models Added city/country metrics. 2013-07-22 09:42:14 -07:00
scripts Allow organizer to update event attendee count. 2013-07-22 11:51:00 -07:00
static Adding png Texture 2013-07-22 11:05:53 -07:00
views/events Allow organizer to update event attendee count. 2013-07-22 11:51:00 -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 Fixed details page admin-related breakage when user not logged in. 2013-07-22 00:10:10 -07:00
package.json Added city/country metrics. 2013-07-22 09:42:14 -07:00
routes.js Added event metrics route and action. 2013-07-18 16:09:08 -07:00
util.js Cleaned up event controller input filter code. 2013-07-17 01:32:17 -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.