Permalink
Browse files

Add main.js webapp wrapper

  • Loading branch information...
1 parent 20535a7 commit 683c0d12f2d3c606a5a80636a8977ae12ed4bbc7 @earl earl committed Feb 26, 2010
Showing with 7 additions and 2 deletions.
  1. +2 −2 README.md
  2. +5 −0 main.js
View
@@ -6,6 +6,6 @@ ringojs, and ringowiki) with:
git submodule init
git submodule update
-Then run the following command:
+After that, you can start the app with:
- ringo ringo/webapp .
+ ringo main.js
View
@@ -0,0 +1,5 @@
+#!/usr/bin/env ringo
+
+if (require.main == module.id) {
+ require("ringo/webapp").start();
+}

0 comments on commit 683c0d1

Please sign in to comment.