Code Monkey home page Code Monkey logo

mvc-lesson-1's Introduction

A simple lesson focussing on client side MVC in javascript

To install all the requirements:

  • Download and install node.js
  • Download and install npm
  • npm install underscore
  • npm install express
  • npm install jade
  • npm install optimist
  • npm install docco

Docco requires Pygments. On Debian based systems you can install this with the following command:

sudo aptitude install python-pygments

To generate the documentation do this:

  • chmod u+x doc-generator.sh
  • ./doc-generator.sh

To start the server:

  • node js/app.js

To access the app:

To access the docs:

Heroku ready!

  • Set up a new Heroku app
  • git push heroku master

mvc-lesson-1's People

Contributors

rayui avatar

Stargazers

Kyle Passarelli avatar Orry Baram avatar Saul avatar Frank Parent avatar Chase Farmer avatar Jörn Röder avatar  avatar Nick Poorman avatar karlos g liberal avatar Lyman Lai avatar  avatar Samuel Williams avatar

Watchers

 avatar Frank Parent avatar Michael Kalika avatar James Cloos avatar  avatar

Forkers

jeff-blaisdell

mvc-lesson-1's Issues

error with doc-generator

Hi
I get this error when trying to run ./doc-generator.sh

docco is installed. Do you have any idea?

./doc-generator.sh

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: write EPIPE
    at errnoException (net.js:642:11)
    at Object.afterWrite [as oncomplete] (net.js:480:18)

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: write EPIPE
    at errnoException (net.js:642:11)
    at Object.afterWrite [as oncomplete] (net.js:480:18)

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: write EPIPE
    at errnoException (net.js:642:11)
    at Object.afterWrite [as oncomplete] (net.js:480:18)

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: write EPIPE
    at errnoException (net.js:642:11)
    at Object.afterWrite [as oncomplete] (net.js:480:18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.