Skip to content

zestjs/template-basic-cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CoffeeScript version of the basic server template for Zest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published