Web interface for Surveil
Go to file
Philippe Pepos Petitclerc 16c6c1d773 Added sass support to dev container 2015-01-23 16:11:34 -05:00
app Fixes 2015-01-23 15:08:13 -05:00
container Added sass support to dev container 2015-01-23 16:11:34 -05:00
e2e-tests First commit based on angular-seed 2014-12-16 17:05:07 -05:00
.bowerrc First commit based on angular-seed 2014-12-16 17:05:07 -05:00
.gitignore Merge branch 'master' of github.com:titilambert/adagios-frontend 2015-01-22 14:19:10 -05:00
.jshintrc First commit based on angular-seed 2014-12-16 17:05:07 -05:00
.travis.yml First commit based on angular-seed 2014-12-16 17:05:07 -05:00
Gruntfile.js Merge branch 'master' of github.com:titilambert/adagios-frontend 2015-01-22 14:19:10 -05:00
LICENSE First commit based on angular-seed 2014-12-16 17:05:07 -05:00
Makefile Added sass support to dev container 2015-01-23 16:11:34 -05:00
bower.json Added dynamically generated table 2015-01-23 14:43:28 -05:00
karma.conf.js Table first draft 2015-01-20 14:29:10 -05:00
package.json Add missing devDependencies 2015-01-20 15:27:39 -05:00
readme.rst Added development container 2015-01-23 16:11:34 -05:00

readme.rst

Adagios FrontEnd

Installation

sudo apt-get install npm nodejs-legacy
git clone https://github.com/titilambert/adagios-frontend.git
cd adagios-frontend
npm install

Dev

To watch for sass files change and auto-refresh css run :

npm install grunt-cli
grunt

If you wish to develop in a docker container, here is how to proceed (assuming you already have docker installed) :

sed -i "s/localhost/0.0.0.0/" package.json
make build
make run
curl http://localhost/app

Coding style ===========

This project conforms to JSLint coding style (http://github.com/douglascrockford/JSLint). Run the linter as follows:

grunt jslint

Tests

AngularJS comes with Karma which is an automatic unit test runner. While running, Karma automatically executes the tests when any js file changes. To launch Karma :

npm test

Launch

npm start

Now, go on http://127.0.0.1:8000