Open amirmo opened 9 years ago
+1
Configure agenda-ui on your agenda ready event.
agenda.on('ready', function () {
// we need to do this to resolve #18
agenda._db = agenda._collection;
app.use('/agenda-ui', agendaUI(agenda, {poll: 60000}));
});
I think this should be part of documentation as it is not completely obvious how to use the UI now.
I'm confused as how this module is used.
I have an express app and have done the following as per the readme instructs.
then from the root of my express app: ~> cd node_modules/agenda-ui
but then there was no bower install in the app/ directory. so I couldn't run the bower install
When I go to: localhost//agenda-ui I get 404. I'm not quite sure what's going on.
Could you instruct as how I can run agenda-ui against my express app that uses agenda. ...? thanks