Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dvberkel/electus

Repository files navigation

Electus Build Status

Electus allows you to agree/disagree with a statement in real time.

Setup

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.

Development

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.

Running test

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

  1. SpecRunner.html
  2. spec/template/_SpecRunner.html

Deployement

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.

License

Electus is licensed under the MIT License.

About

Enable you to agree/disagree with a statement in real time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •