Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 3633684af582a1c9ee0f8954d262bbef16881900 @mauritslamers committed May 27, 2012
Showing with 98 additions and 0 deletions.
  1. +6 −0 .gitmodules
  2. +14 −0 README
  3. +1 −0 frameworks/sproutcore
  4. +1 −0 getting-started
  5. +62 −0 gettingstarted.js
  6. +14 −0 package.json
6 .gitmodules
@@ -0,0 +1,6 @@
+[submodule "getting-started"]
+ path = getting-started
+ url = git://github.com/sproutcore/getting-started
+[submodule "frameworks/sproutcore"]
+ path = frameworks/sproutcore
+ url = git://github.com/sproutcore/sproutcore
14 README
@@ -0,0 +1,14 @@
+GARCON testproject
+
+To install:
+
+git clone git://github.com/mauritslamers/garcon-testproject
+git submodule update --init
+npm install
+
+node gettingstarted.js
+
+then in browser:
+http://localhost/todos_three
+
+
1 frameworks/sproutcore
@@ -0,0 +1 @@
+Subproject commit ae33febbfc727ad77b92baaa9a3b4093e42c3f06
1 getting-started
@@ -0,0 +1 @@
+Subproject commit 2d892f83bf4d292892d60bc99d58b2ee99be2e34
62 gettingstarted.js
@@ -0,0 +1,62 @@
+var g = require('garcon');
+
+var server = g.Server.create({
+ //loadSCTests: true,
+ //REPL: true,
+ proxies: [{ prefix: '/',
+ host: '192.168.178.29',
+ port: 8080,
+ proxyPrefix: '/'
+ }]
+});
+
+var stdHtmlBody = [
+ '<div id="loading">',
+ '<p id="loading">',
+ 'Loading…',
+ '</p>',
+ '</div>'
+ ].join('\n');
+
+var todosOne = g.App.create({
+ name: 'todos_one',
+ theme: 'ace',
+ htmlBody: stdHtmlBody,
+ htmlHead: '<title>todos</title>',
+ //urlPrefix: '/',
+ hasSC: true,
+ configSC: {
+ //nodifyScripts: true
+ },
+ frameworks: [
+ //{ path: 'frameworks/sproutcore/themes/empty_theme'},
+ //{ path: 'frameworks/sproutcore/themes/standard_theme'},
+ { path: 'frameworks/sproutcore/themes/ace', combineStylesheets: true },
+ { path: 'getting-started/apps/todos_one'}
+ ]
+});
+
+var todosThree = g.App.create({
+ name: 'todos_three',
+ theme: 'ace',
+ htmlBody: stdHtmlBody,
+ htmlHead: '<title>todos 3</title>',
+ //urlPrefix: '/',
+ hasSC: true,
+ configSC: {
+ //nodifyScripts: true
+ },
+ frameworks: [
+ { path: 'frameworks/sproutcore/themes/empty_theme'},
+ { path: 'frameworks/sproutcore/themes/ace', combineStylesheets: true },
+ //{ path: 'frameworks/sproutcore/themes/standard_theme'},
+ { path: 'frameworks/sproutcore/frameworks/debug', combineStylesheets: true },
+ { path: 'frameworks/sproutcore/frameworks/testing', combineStylesheets: true },
+ { path: 'frameworks/sproutcore/frameworks/yuireset', combineStylesheets: true },
+ { path: 'getting-started/apps/todos_three'}
+ ]
+});
+
+server.addApp(todosOne);
+server.addApp(todosThree);
+server.run();
14 package.json
@@ -0,0 +1,14 @@
+{
+ "name" : "garcon-testproject",
+ "description" : "project for testing chance functionality on garcon",
+ "repository" : { "type" : "git",
+ "url" : "https://github.com/mauritslamers/garcon-test.git" },
+ "keywords" : ["node.js", "sproutcore"],
+ "author" : "Maurits Lamers <mauritslamers@gmail.com>",
+ "contributors" : ["Jeff Pittman"],
+ "dependencies" : {
+ "garcon": "git://github.com/mauritslamers/garcon.git#chance"
+ },
+ "version" : "0.0.1",
+ "engines" : {"node": "0.6.x"}
+}

0 comments on commit 3633684

Please sign in to comment.