Skip to content

Instantly share code, notes, and snippets.

@bruz
Created July 12, 2010 13:51
Show Gist options
  • Save bruz/472485 to your computer and use it in GitHub Desktop.
Save bruz/472485 to your computer and use it in GitHub Desktop.
var g = require('./lib/garcon'),
server = new g.Server(),
myApp;
myApp = server.addApp({
name: 'signup',
//theme: 'my_theme',
buildLanguage: 'english'
});
myApp.addSproutcore();
myApp.addFrameworks(
//{ path: 'frameworks/calendar' },
//{ path: 'themes/my_theme' },
{ path: 'apps/signup', buildLanguage: 'english' }
);
myApp.htmlHead = '<title>My App</title>';
myApp.htmlBody = [
'<div id="loading">',
'<p id="loading">',
'Loading…',
'</p>',
'</div>'
].join('\n');
myApp.build();
server.run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment