Live Seminar system, specially designed for programming/technology courses.
##Installation You will need to install Nodejs in order to run Seminarjs.
Browse to the folder where your course will be setup, and run the following:
npm install seminarjs --save
Once this has run, create an entry point (index.js
) is the usual, and include the following:
var seminarjs = require('seminarjs');
seminarjs.init({
'name': 'Seminarjs Demo',
'favicon': 'public/favicon.ico',
'static': ['public'],
'views': 'templates/views',
'view engine': 'jade',
'auto update': true,
'mongo': 'mongodb://localhost/my-project',
'session': true,
'auth': true,
'user model': 'User',
'cookie secret': 'blablabla'
});
seminarjs.set('routes', require('./private/routes'));
seminarjs.start();
##Plugins
Seminarjs can be easily extended with plugins, which only require two steps to install and run.
First install the plugin package:
npm install seminarjs-{plugin} --save
Next, add the following after seminarjs.start();
:
seminarjs.loadPlugin('{plugin}');
###Official plugins
This is the list of plugins developed by the Seminarjs team, go to their repositories for their documentation and usage.
- Chat: seminarjs-chat
- Contest: seminarjs-contest
###Plugins
If you develop a plugin for Seminarjs please feel free to send a Pull Request adding your plugin here, or add an issue referencing your plugin repository.
It should be available as an npm package and work in the same way the other plugins work.
##Contributing
Please feel free to add any issues you find with Seminarjs or any of its plugins.
Code contributions are also welcome, if you want to add anything please do the following:
- Fork the project.
- Create a new feature branch from
develop
. - Add tests for you new feature in the
test
folder (and make sure it passes them, and all existing ones) - Send a pull request to the
develop
branch.
If your Pull request resolves any existing issues please also reference them in the PR message.
##License Seminarjs is released under the MIT License