The new dynamic FrontPage of dictyBase.
Development of a dynamic framework for the dictybase using AngularJS, an open-source web application framework. The advantage of AngularJS is that the client side only requires HTML, CSS, and Javascript. The model-view-controller capability makes both development and testing easier.
Requires npm version ^0.10
and git
. If you have them, run:
git clone https://github.com/dictyBase/frontpage-dictybase.git
cd frontpage-dictybase
npm install --production
As a result, all the dependencies specified in package.json
are installed locally in the directory node_modules
. To use them, they have to be added to the path, for example:
export PATH="$(npm bin):$PATH"
The final step is to run bower
:
bower install
grunt serve
for previewgrunt build
builds the frontpage into the folderwww
Requires the following installations:
python
libpng-dev
...and then run
npm install
grunt test
- It uses
Karma
to run the tests available attest/
- It uses the plugin
karma-coverage
to generate code coverage usingIstanbul
. The report is available atcoverage/
To find out more, check the file test/karma.conf.js
Documentation about design can be found here.