Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RT-MVC: Real time app generation and resource scaffolding is working
- Loading branch information
Techwraith
committed
Oct 27, 2012
1 parent
741bb80
commit 057bd49
Showing
38 changed files
with
803 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ var config = { | |
} | ||
*/ | ||
|
||
socketIo: true | ||
realtime: true | ||
|
||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
var config = { | ||
/* | ||
metrics: { | ||
port: 4001 | ||
} | ||
*/ | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var config = { | ||
realtime: true | ||
}; | ||
|
||
module.exports = config; |
53 changes: 53 additions & 0 deletions
53
templates/base/realtime/views/ejs/layouts/application.html.ejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Geddy App | This app uses Geddy.js</title> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<meta name="viewport" content="width=device-width" /> | ||
|
||
<!-- The HTML5 shim, for IE6-8 support of HTML elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<%- scriptLink('/js/jquery.min.js', {type:'text/javascript'}) %> | ||
<%- scriptLink('/js/bootstrap.min.js', {type:'text/javascript'}) %> | ||
<%- scriptLink('/js/core/core.js', {type: 'text/javascript'}) %> | ||
<%- scriptLink('/js/core/models.js', {type: 'text/javascript'}) %> | ||
|
||
<%- styleLink('/css/bootstrap.min.css', {rel:'stylesheet'}) %> | ||
<%- styleLink('/css/style.css', {rel:'stylesheet'}) %> | ||
<%- styleLink('/css/bootstrap.responsive.min.css', {rel:'stylesheet'}) %> | ||
|
||
<!-- The fav and touch icons --> | ||
<link rel="shortcut icon" href="/images/favicon.ico"> | ||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> | ||
</head> | ||
<body> | ||
<div class="navbar navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="i-bar"><i class="icon-chevron-down icon-white"></i></span> | ||
</a> | ||
<%- linkTo('Geddy App', '/', { class: 'brand' }) %> | ||
<div class="nav-collapse"> | ||
<ul class="nav"> | ||
<li class="active"><%- linkTo('Home', '/') %></li> | ||
<li><%- linkTo('Tutorial', 'http://geddyjs.org/tutorial') %></li> | ||
<li><%- linkTo('Docs', 'http://geddyjs.org/documentation') %></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<%- yield(); %> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Lets talk about geddy --> | ||
<div class="hero-unit geddy-welcome-box"> | ||
<h1>Hello, World!</h1> | ||
<p>You've created a Geddy app and your server is running. If you already know what you're doing, feel free to jump into your app logic, if not...</p> | ||
<p><a href="http://geddyjs.org/tutorial.html" class="btn btn-primary btn-large">Lets get you started »</a></p> | ||
</div> |
51 changes: 51 additions & 0 deletions
51
templates/base/realtime/views/handlebars/layouts/application.html.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Geddy App | This app uses Geddy.js</title> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<meta name="viewport" content="width=device-width" /> | ||
|
||
<!-- The HTML5 shim, for IE6-8 support of HTML elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<script type="text/javascript" src="/js/jquery.min.js"></script> | ||
<script type="text/javascript" src="/js/bootstrap.min.js"></script> | ||
|
||
<link rel="stylesheet" href="/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
<link rel="stylesheet" href="/css/bootstrap.responsive.min.css"> | ||
|
||
<!-- The fav and touch icons --> | ||
<link rel="shortcut icon" href="/images/favicon.ico"> | ||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> | ||
</head> | ||
<body> | ||
<div class="navbar navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="i-bar"><i class="icon-chevron-down icon-white"></i></span> | ||
</a> | ||
<a class="brand" href="/">Geddy App</a> | ||
<div class="nav-collapse"> | ||
<ul class="nav"> | ||
<li class="active"><a href="/">Home</a></li> | ||
<li><a href="http://geddyjs.org/tutorial.html">Tutorial</a></li> | ||
<!--<li><a href="http://geddyjs.org/docs.html">Docs</a></li>--> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
{{{yield}}} | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Lets talk about geddy --> | ||
<div class="hero-unit geddy-welcome-box"> | ||
<h1>Hello, World!</h1> | ||
<p>You've created a Geddy app and your server is running. If you already know what you're doing, feel free to jump into your app logic, if not...</p> | ||
<p><a href="http://geddyjs.org/tutorial.html" class="btn btn-primary btn-large">Lets get you started »</a></p> | ||
</div> |
Oops, something went wrong.