Sunrisesunrise / pundit2

Repository for Pundit Annotator and Pundit Annotator Pro. Developed in AngularJs. These tools allow web annotation with highlights, comments and semantic annotations.

Home Page:http://thepund.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pundit client

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.

Developers site

The developers site is available at this URL.

Annotation server

The Pundit client needs the Annotation Server you can download here.

License

http://thepund.it/license/

Install

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.

Develop

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

Build

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.

Used in this project

About

Repository for Pundit Annotator and Pundit Annotator Pro. Developed in AngularJs. These tools allow web annotation with highlights, comments and semantic annotations.

http://thepund.it


Languages

Language:JavaScript 66.0%Language:HTML 28.6%Language:CSS 5.4%