Permalink
Browse files

[ @ ] First example project

  • Loading branch information...
1 parent 10ee72d commit ac5d382c648cd6d45a2608431284e26d5cef1683 @pnegri committed Nov 9, 2011
Showing with 29 additions and 11 deletions.
  1. +0 −3 .gitignore
  2. +0 −7 README.md
  3. +7 −0 examples/minimal-test/README
  4. +20 −0 examples/minimal-test/app.coffee
  5. +1 −0 examples/minimal-test/cdn/test.txt
  6. +1 −1 package.json
View
@@ -2,9 +2,6 @@
testing
node_modules/
lib-cov
-examples/
-examples/*/*
-examples/**
*~
*.lock
*.swp
View
@@ -4,10 +4,3 @@ Warning: Alpha Version - Do not use in production
Arcabouco.JS is a microframework designed to run on top of node.js to automate large scale applications with self-scalability / monitoring
-Implement a Response Time Calculator
-Implement a Request Time Header
-Implement a Second Timer
- * Requests per Second
- * CPU use
- * Disk use
-Implement a Node Information (To store) etc
@@ -0,0 +1,7 @@
+Requires:
+
+coffeescript
+arcabouco-js
+screw-node-static
+
+
@@ -0,0 +1,20 @@
+arcabouco = require 'arcabouco-js'
+
+config = {
+ baseDirectory: __dirname
+ nodeStatic:
+ assets:
+ cdn:
+ config:
+ cache: 0
+ directory: __dirname + '/cdn'
+}
+
+app = new arcabouco config
+
+app.add require 'screw-node-static'
+app.build()
+
+server = app.createServer()
+server.listen 8888
+
@@ -0,0 +1 @@
+Hello World
View
@@ -1,7 +1,7 @@
{
"name" : "arcabouco-js",
"description" : "scalable microframework in node.js",
- "version" : "0.5.0",
+ "version" : "0.5.1",
"author" : "Patrick Negri <patrick@iugu.com.br>",
"homepage": "http://github.com/pnegri/arcabouco-js",
"contributors" : [],

0 comments on commit ac5d382

Please sign in to comment.