honglio / niukj

An Online Authoring Platform - write & present & share your slide
http://www.niukj.com
Other
0 stars 0 forks source link

Codeship Status for honglio/niukj

Niukj

Browser Support

Chrome, Safari, Firefox 3.6+, Opera, IE9-11.

Getting started

Details of contributing on this project can be found in the wiki.

Developers Guide

Install requirements

Quick Start

Clone the repository:

$ git clone https://github.com/honglio/niukj.git

Start the Vagrant virtual machine:

$ vagrant up

SSH into the Vagrant virtual machine:

$ vagrant ssh

Start the application inside the vagrant machine:

$ make

Now you can open http://localhost:3000 in your browser.

Source Structure

Build and Release

To running locally, you'll need Grunt v0.4.0 or later.

  1. Install the latest Grunt: 'npm install -g grunt-cli'
  2. Install development dependencies: 'npm install'
  3. Build pages from template: 'grunt build'. The resulting build will be location in 'currentDirectory/built'.
  4. Update the release version with grunt-bump

Add custom fonts:

  1. Reference them in web-fonts.css
  2. Add the image hack for the given font to ImpressTemplate.hbs
  3. Add the base-64 version of the font to present_dependence/base64/fonts
  4. ttf2woff tool: npm install ttf2woff -g