These models originally evolved from the Biologica, ITSI, and Geniquest projects created by the Concord Consortium
This project is built using Brunch.io, which compiles the CoffeeScript, stylesheets, and other assets.
- Node Download an installer or run
brew install node
- Bower Run
npm install -g bower
You'll need to install the plugins required for the brunch project, as well as libraries the project depends on. Run these commands:
npm install
bower install
Run this command:
npm start
Now open http://localhost:3333 in your browser. Whenever you make a change to a file the browser will be automatically refreshed. Thanks auto-reload-brunch.
Your files will automatically be built into the /public directory whenever they change.
You can also just run brunch build
to simply build the files into /public without starting
the server.
Run this command:
npm test
A new Chrome window will open, and the results of the tests will be shown in your console.
If you have the server running (npm start
) then any time you update a file the tests will
be re-run.
- Install the latest version of Node (>= 0.10.11). You can use Node Version Manager.
- Edit the file test/karma.conf.js to change
browsers: ['Chrome']
tobrowsers: ['PhantomJS']
- Run the tests with
npm test
Run this command:
./test-models.sh
A new Chrome window will open, and the results of the tests will be shown in your console.
The model test files can be found in /test/models/
- CoffeeScript - Making JavaScript suck less.
- Brunch - Asset Compilation
- Node - For Brunch
- Stylus - CSS Templating
biologica-ui is Copyright 2015 (c) by the Concord Consortium and is distributed under the MIT.