/front

nginx practice front end

Primary LanguageJavaScriptMIT LicenseMIT

Front

This utilizes Galvanize's client-side stack with backbone. It is intended to be used with pgrunde/back.

Thunderdome

Galvanize's client-side stack:

System Dependencies

Node.js should be installed on your system. We recommend installing it with nvm.

Once node is installed, make sure Gulp is installed globally:

npm install --global gulp

Installation

Thunderdome can be installed with:

npm install

Development

Run the development environment with:

gulp

A proxy server is built into the development environment. It can be configured in gulpfile.js.

For live-reload functionality, install the chrome extension.

Testing can be run with:

npm test

Linting can be run with:

gulp lint

Production / Deployment

A production build can be created with:

gulp build

By default it will build to the dist directory. Files are timestamped to trigger cache-busting.

The production directory can then be copied to the server / CDN.

Galvanize Product, 2015