Pundit is a web application that allows users to annotate web pages. Compared to others annotations tool Pundit is a bit “special” since it allows to create semantic annotations.
This is the official and open source repository for the Pundit client.
The developers site is available at this URL.
The Pundit client needs the Annotation Server you can download here.
To install the project and be ready to develop you need a few components:
- npm (nodejs >0.9);
- grunt-cli.
On Ubuntu 12.04 (and maybe others) you might need to add a repository for a recent version of nodejs:
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Install npm, grunt:
sudo apt-get install npm
sudo npm -g install grunt-cli grunt
Install bower
sudo npm install -g bower
Install pundit2:
WARNING: this step must NOT be run as root, npm will just let you down.
npm install
This will install the full toolchain to develop, build and deploy the application.
grunt dev
Examples are built in examples/*html
from examples/src/*html
.
To create a new one: add a new .html in examples/src/
, include the header and footer comments
for grunt to build them correctly. Or copy one of the existing into a new one, directly.
The list of examples is built and included everywhere automatically.
To get a list of grunt targets:
grunt --help
grunt build
Will build a production ready pundit2 distribution in /build/
:
css/*ver*.pundit.css
css/fonts/*
scripts/*ver*.libs.js
scripts/*ver*.pundit2.js
Plus all of the examples using the production code: index.html
or just *.html
.
Plus the documentation in /Docs
.
- Js framework: Angular js
- Css/html framework: Bootstrap
- js+css/html: Angular strap
- Unit tests: Jasmine
- E2E tests: Protractor