Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Readme.md

Shared Templates

This code base was created for a tutorial in .Net magazine on sharing the same template files between server and client.

You can see this node server running at http://shared-templates.joshemerson.co.uk.

Installation

  1. Clone this repo

    git clone git@github.com:joshje/shared-templates.git
    cd shared-templates
    
  2. Install node

  3. Install the NPM module grunt-cli

    npm install grunt-cli -g
    
  4. Install module dependencies

    npm install
    
  5. Run grunt

    grunt
    
  6. Run the server

    node app.js
    

Tutorial Branch

If you are following the tutorial (available in the February issue of net magazine), checkout the tutorial branch, which does not contain files which you will write as you follow the tutorial. If you simply want to run the project, choose the master branch.

About

An example website which shares templates between the server and the client

Resources

Releases

No releases published

Packages

No packages published