Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CoffeeScript version of the basic server template for Zest
CoffeeScript
Tree: 450a287c3d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
www/app
.gitignore
.nodemonignore
README.md
app.coffee
package.json
zest.cson
~node-server.coffee

README.md

ZestJS Simple Server Template

From the ZestJS Quick Start at http://zestjs.org/

Install

First ensure both Volo and the Zest-Server command line tools are installed with npm (provided by the nodejs install):.

  npm install volo zest-server -g

You will need to run this with admin privileges.

Then create this template with volo:

 volo create folder_name zestjs/template-basic-cs

Note: on windows you may need to separately type npm install from the project folder to download the node dependencies.

Run

Type zest from the created project folder to run the server.

Then navigate to http://localhost:8080 in the browser.

Also navigate to http://localhost:8080/sometext to see routing in action.

Build

To run a build, simply run zest in the production environment, by initiating the site with:

  zest start production

from the project folder.

This will build the necessary browser files into one file including -

  • Templates are compiled
  • CSS and LESS is inlined into script
  • CoffeeScript is compiled if using require-coffee
Something went wrong with that request. Please try again.