Electus allows you to agree/disagree with a statement in real time.
Electus is setup as a node module and uses grunt to automate various tasks. Run the following command to install all the dependencies, except PhantomJS. Go to the PhantomJS download section for instructions how to setup PhantomJS.
npm install
The next command runs the default grunt task
./node_modules/.bin/grunt
An other option is to add <PROJECT_DIR>/node_modules/.bin/ to you
path and just execute grunt.
nodemon is a great tool that can be used during development. It watches certain files and restarts a server when these changes.
It can be used in the following manner
./node_modules/.bin/nodemon app.js
This will start a socket.io server listening on port 3435.
We use jasmine to test our application. Open the 'SpecRunner.html' in a browser to see the test results.
You could also run
./node_modules/.bin/grunt jasmine
to have the tests automatically run. This depends on PhantomJS to
be available on the path. Furthermore is generates a
'_SpecRunner.html' which should not be confused for the
SpecRunner.html for the browser.
When adding new specifications they should be included in two places
- SpecRunner.html
- spec/template/_SpecRunner.html
Nodejitsu is used as an cloud application platform. The excellent
getting started tutorial informs you how to use the jitsu
command to deploy the application.
At the moment the application used the developer sandbox. This may change in the future.
Electus is licensed under the MIT License.