/playground-demo

A demo of ClassDojo's front-end development environment.

Primary LanguageCoffeeScript

Directory Layout

  .cortado.js            - test config for cortado
  public/                - all public HTTP files
    index.html           - index file
    css/                 - CSS files
    img/                 - images
    scripts/             - useful js / shell scripts
      server.js          - static HTML server
    vendor/              - third-party libraries
    test/                - test files
    js/                  - application
      views/             - mojo views & templates
      commands/          - global mediator commands

Requirements

Installation

git clone git@github.com:classdojo/playground-demo.git && cd playground-demo && npm install;

Running

npm run server

Testing

npm test

Troubleshooting

Trouble with dependencies? Remove your node modules and reinstall.

rm -rf node_modules; npm cache clear; npm install; npm run server