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
- Presentation Model: public/js/models
- Editor UI Layer: public/js/views
- Presentation Rendering: server/views/article
- templates for UI components: in public/js/templates
Build and Release
To running locally, you'll need Grunt v0.4.0 or later.
- Install the latest Grunt: 'npm install -g grunt-cli'
- Install development dependencies: 'npm install'
- Build pages from template: 'grunt build'. The resulting build will be location in 'currentDirectory/built'.
- Update the release version with grunt-bump
Add custom fonts:
- Reference them in web-fonts.css
- Add the image hack for the given font to ImpressTemplate.hbs
- Add the base-64 version of the font to present_dependence/base64/fonts
- ttf2woff tool: npm install ttf2woff -g