Permalink
Browse files

more docs

  • Loading branch information...
1 parent b77def5 commit a86374d1f8c2ec3c81644d23ec062f71d0a3449f @maccman committed Jun 5, 2012
Showing with 17 additions and 6 deletions.
  1. +17 −6 README.md
View
@@ -12,20 +12,31 @@ Catapult is especially useful alongside MVC frameworks like [Spine](http://spine
To generate an app, use:
- catapult new myapp
- cd myapp
+ $ catapult new myapp
+
+ create myapp
+ create myapp/assets/javascripts/app.js
+ create myapp/assets/stylesheets/app.css
+ create myapp/browser.json
+ create myapp/public/index.htm
+
+ $ cd myapp
+
+You'll notice a bunch of files have been created. The convention in Catapult is that any assets under `assets/javascripts` and `assets/stylsheets` will be compiled under the static `public` directory. Your HTML files can reference them there.
Now you can start a catapult server:
- catapult server
+ $ catapult server
+
+And open up the app [in your browser](http://localhost:9292).
-Or build the files for deployment:
+You can also build the files for deployment:
- catapult build
+ $ catapult build
Or watch the files for changes, and then automatically build:
- catapult watch
+ $ catapult watch
## Concatenation

0 comments on commit a86374d

Please sign in to comment.