Skip to content

devmerge/frontend

Repository files navigation

DevMerge

The Build

  1. Install Node.js & NPM
  2. Install Grunt.js
  3. Run npm install to fetch all dependencies.
  4. Run npm start to build a production version of the app.

Running the App

Development

  1. Run grunt dev
  2. Open http://localhost:9000/

Production

  1. Run npm start
  2. Open http://localhost:9002/

Tests

  1. Install PhantomJS and CasperJS
  2. Run npm test

Optimizations

Build step Description Development Production
Watch Auto-build on file changes 🚫
JSHint Coding style compliance
Stylus Compile CSS
Handlebars Compile templates 🚫
HTML Minifier Reduce HTML size 🚫
RequireJS Concatenate and minify Javascript 🚫
JPEGtran & OptiPNG Compress images 🚫
Revving & Usemin Cache busting for static assets 🚫

Dependencies

Webserver Configuration

Nginx

Apache2