Skip to content

Commit

Permalink
Fix crash course spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Mar 18, 2013
1 parent 346dbf9 commit febb56b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions basics/crash-course.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## Crash Course to CompoundJS

In this guide we will start with creating app using generators. Goal: get
working application without any additional knoweledge about express, learn
structure and tools coming with railway, quick overview of main features.
The guide demonstrates how to create simple compound app using generators.

Goal: working application without knowledge of express, learn structure and
tools coming with compound and get quick overview of main features.

### What is compound

Expand All @@ -11,7 +12,7 @@ Before we start I have define compound framework. Compound's formula:
layout of directories, and **extensions** are node modules adding functionality to
the framework. Compound's goal: provide obvious and well-organized interface for
express application development. That means everything working with express will
work with compound too.
work with compound.

Now we can start building app. Let's create todo-list app with REST API and web
interface.
Expand All @@ -28,10 +29,10 @@ interface.

3. install dependencies

cd todo-list app && npm install
cd todo-list-app && npm install

Now we have initial compound app structure, we can run application and see
what's happen. Let's run `node .` command and open http://localhost:3000/ in
what will happen. Let's run `node .` command and open http://localhost:3000/ in
browser.

> **NOTE** `node .` command is simple way to run application in current
Expand All @@ -47,7 +48,7 @@ available as static content: client-side javascripts and stylesheets located her
> sass / less / stylus. Sources for these files located at `./app/assets` and
> compiled automatically using `co-assets-compiler` extension module.
### Generate scaffold
### Generate scaffold for List

Run this command

Expand Down Expand Up @@ -118,6 +119,5 @@ path, all route helpers available as methods on `pathTo` object. Examples:
#### Controller

When route matched, request handling passed to corresponding controller#action.
Controllers located in `./app/controllers`. For example our list controller
Controllers located in `./app/controllers`. For example, our list controller
described in `./app/controllers/lists_controller.js`

0 comments on commit febb56b

Please sign in to comment.