Permalink
Browse files

started on the new website, moved the old website to site-old, will r…

…emove that directory when we're done.
  • Loading branch information...
1 parent 109ee59 commit e9f7a748ddffd819e5b212edaf56a24475f31eff Techwraith committed Oct 6, 2012
Showing with 22,711 additions and 0 deletions.
  1. 0 {site → site-old}/css/bootstrap.css
  2. 0 {site → site-old}/css/bootstrap.min.css
  3. 0 {site → site-old}/css/bootstrap.min.responsive.css
  4. 0 {site → site-old}/css/bootstrap.responsive
  5. 0 {site → site-old}/docs.html
  6. 0 {site → site-old}/features.html
  7. BIN {site → site-old}/img/glyphicons-halflings-white.png
  8. BIN {site → site-old}/img/glyphicons-halflings.png
  9. 0 {site → site-old}/index.html
  10. 0 {site → site-old}/js/bootstrap.js
  11. 0 {site → site-old}/js/bootstrap.min.js
  12. 0 {site → site-old}/js/google-code-prettify/lang-apollo.js
  13. 0 {site → site-old}/js/google-code-prettify/lang-clj.js
  14. 0 {site → site-old}/js/google-code-prettify/lang-css.js
  15. 0 {site → site-old}/js/google-code-prettify/lang-go.js
  16. 0 {site → site-old}/js/google-code-prettify/lang-hs.js
  17. 0 {site → site-old}/js/google-code-prettify/lang-lisp.js
  18. 0 {site → site-old}/js/google-code-prettify/lang-lua.js
  19. 0 {site → site-old}/js/google-code-prettify/lang-ml.js
  20. 0 {site → site-old}/js/google-code-prettify/lang-n.js
  21. 0 {site → site-old}/js/google-code-prettify/lang-proto.js
  22. 0 {site → site-old}/js/google-code-prettify/lang-scala.js
  23. 0 {site → site-old}/js/google-code-prettify/lang-sql.js
  24. 0 {site → site-old}/js/google-code-prettify/lang-tex.js
  25. 0 {site → site-old}/js/google-code-prettify/lang-vb.js
  26. 0 {site → site-old}/js/google-code-prettify/lang-vhdl.js
  27. 0 {site → site-old}/js/google-code-prettify/lang-wiki.js
  28. 0 {site → site-old}/js/google-code-prettify/lang-xq.js
  29. 0 {site → site-old}/js/google-code-prettify/lang-yaml.js
  30. 0 {site → site-old}/js/google-code-prettify/prettify.css
  31. 0 {site → site-old}/js/google-code-prettify/prettify.js
  32. 0 {site → site-old}/tutorial.html
  33. +25 −0 site/app/controllers/application.js
  34. +37 −0 site/app/controllers/main.js
  35. +67 −0 site/app/views/layouts/application.html.jade
  36. +45 −0 site/app/views/main/community.html.jade
  37. +3 −0 site/app/views/main/index.html.jade
  38. +31 −0 site/config/development.js
  39. +9 −0 site/config/environment.js
  40. +15 −0 site/config/init.js
  41. +32 −0 site/config/production.js
  42. +48 −0 site/config/router.js
  43. 0 site/log/access.2012-10-03T13:14:59.log
  44. 0 site/log/access.2012-10-03T13:15:46.log
  45. +914 −0 site/log/access.2012-10-03T16:35:18.log
  46. +15 −0 site/log/access.2012-10-03T16:44:21.log
  47. +616 −0 site/log/access.2012-10-04T01:57:01.log
  48. +27 −0 site/log/access.log
  49. +1 −0 site/log/stderr.2012-10-03T13:14:59.log
  50. +1 −0 site/log/stderr.2012-10-03T13:15:46.log
  51. 0 site/log/stderr.2012-10-03T16:35:18.log
  52. 0 site/log/stderr.2012-10-03T16:44:21.log
  53. +2 −0 site/log/stderr.2012-10-04T01:57:01.log
  54. +1 −0 site/log/stderr.log
  55. +35 −0 site/log/stdout.2012-10-03T13:14:59.log
  56. +35 −0 site/log/stdout.2012-10-03T13:15:46.log
  57. +40 −0 site/log/stdout.2012-10-03T16:35:18.log
  58. +55 −0 site/log/stdout.2012-10-03T16:44:21.log
  59. +35 −0 site/log/stdout.2012-10-04T01:57:01.log
  60. +35 −0 site/log/stdout.log
  61. +1 −0 site/node_modules/.bin/jade
  62. +14 −0 site/node_modules/jade/.npmignore
  63. +22 −0 site/node_modules/jade/LICENSE
  64. +1,299 −0 site/node_modules/jade/Readme.md
  65. +168 −0 site/node_modules/jade/bin/jade
  66. +4 −0 site/node_modules/jade/index.js
  67. +3,586 −0 site/node_modules/jade/jade.js
  68. +510 −0 site/node_modules/jade/jade.md
  69. +2 −0 site/node_modules/jade/jade.min.js
  70. +654 −0 site/node_modules/jade/lib/compiler.js
  71. +18 −0 site/node_modules/jade/lib/doctypes.js
  72. +97 −0 site/node_modules/jade/lib/filters.js
  73. +28 −0 site/node_modules/jade/lib/inline-tags.js
  74. +253 −0 site/node_modules/jade/lib/jade.js
  75. +774 −0 site/node_modules/jade/lib/lexer.js
  76. +77 −0 site/node_modules/jade/lib/nodes/attrs.js
  77. +33 −0 site/node_modules/jade/lib/nodes/block-comment.js
  78. +122 −0 site/node_modules/jade/lib/nodes/block.js
  79. +43 −0 site/node_modules/jade/lib/nodes/case.js
  80. +35 −0 site/node_modules/jade/lib/nodes/code.js
  81. +32 −0 site/node_modules/jade/lib/nodes/comment.js
  82. +29 −0 site/node_modules/jade/lib/nodes/doctype.js
  83. +35 −0 site/node_modules/jade/lib/nodes/each.js
  84. +35 −0 site/node_modules/jade/lib/nodes/filter.js
  85. +20 −0 site/node_modules/jade/lib/nodes/index.js
  86. +32 −0 site/node_modules/jade/lib/nodes/literal.js
  87. +36 −0 site/node_modules/jade/lib/nodes/mixin.js
  88. +25 −0 site/node_modules/jade/lib/nodes/node.js
  89. +95 −0 site/node_modules/jade/lib/nodes/tag.js
  90. +36 −0 site/node_modules/jade/lib/nodes/text.js
  91. +714 −0 site/node_modules/jade/lib/parser.js
  92. +174 −0 site/node_modules/jade/lib/runtime.js
  93. +19 −0 site/node_modules/jade/lib/self-closing.js
  94. +49 −0 site/node_modules/jade/lib/utils.js
  95. +4 −0 site/node_modules/jade/node_modules/commander/.npmignore
  96. +4 −0 site/node_modules/jade/node_modules/commander/.travis.yml
  97. +107 −0 site/node_modules/jade/node_modules/commander/History.md
  98. +7 −0 site/node_modules/jade/node_modules/commander/Makefile
  99. +262 −0 site/node_modules/jade/node_modules/commander/Readme.md
  100. +2 −0 site/node_modules/jade/node_modules/commander/index.js
  101. +1,026 −0 site/node_modules/jade/node_modules/commander/lib/commander.js
  102. +37 −0 site/node_modules/jade/node_modules/commander/package.json
  103. +2 −0 site/node_modules/jade/node_modules/mkdirp/.npmignore
  104. +4 −0 site/node_modules/jade/node_modules/mkdirp/.travis.yml
  105. +21 −0 site/node_modules/jade/node_modules/mkdirp/LICENSE
  106. +61 −0 site/node_modules/jade/node_modules/mkdirp/README.markdown
  107. +6 −0 site/node_modules/jade/node_modules/mkdirp/examples/pow.js
  108. +82 −0 site/node_modules/jade/node_modules/mkdirp/index.js
  109. +35 −0 site/node_modules/jade/node_modules/mkdirp/package.json
  110. +38 −0 site/node_modules/jade/node_modules/mkdirp/test/chmod.js
  111. +37 −0 site/node_modules/jade/node_modules/mkdirp/test/clobber.js
  112. +28 −0 site/node_modules/jade/node_modules/mkdirp/test/mkdirp.js
  113. +32 −0 site/node_modules/jade/node_modules/mkdirp/test/perm.js
  114. +39 −0 site/node_modules/jade/node_modules/mkdirp/test/perm_sync.js
  115. +41 −0 site/node_modules/jade/node_modules/mkdirp/test/race.js
  116. +32 −0 site/node_modules/jade/node_modules/mkdirp/test/rel.js
  117. +25 −0 site/node_modules/jade/node_modules/mkdirp/test/return.js
  118. +24 −0 site/node_modules/jade/node_modules/mkdirp/test/return_sync.js
  119. +18 −0 site/node_modules/jade/node_modules/mkdirp/test/root.js
  120. +32 −0 site/node_modules/jade/node_modules/mkdirp/test/sync.js
  121. +28 −0 site/node_modules/jade/node_modules/mkdirp/test/umask.js
  122. +32 −0 site/node_modules/jade/node_modules/mkdirp/test/umask_sync.js
  123. +47 −0 site/node_modules/jade/package.json
  124. +179 −0 site/node_modules/jade/runtime.js
  125. +1 −0 site/node_modules/jade/runtime.min.js
  126. +7 −0 site/node_modules/jade/test.jade
  127. +5 −0 site/node_modules/jade/testing/head.jade
  128. +1 −0 site/node_modules/jade/testing/index.jade
  129. +14 −0 site/node_modules/jade/testing/index.js
  130. +10 −0 site/node_modules/jade/testing/layout.jade
  131. +7 −0 site/node_modules/jade/testing/user.jade
  132. +27 −0 site/node_modules/jade/testing/user.js
  133. +5,774 −0 site/public/css/bootstrap.css
  134. +9 −0 site/public/css/bootstrap.min.css
  135. +1,058 −0 site/public/css/bootstrap.responsive.css
  136. +9 −0 site/public/css/bootstrap.responsive.min.css
  137. +267 −0 site/public/css/style.css
  138. BIN site/public/favicon.ico
  139. BIN site/public/img/glyphicons-halflings-white.png
  140. BIN site/public/img/glyphicons-halflings.png
  141. BIN site/public/img/whitey.png
  142. +2,027 −0 site/public/js/bootstrap.js
  143. +6 −0 site/public/js/bootstrap.min.js
  144. +2 −0 site/public/js/jquery.min.js
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,25 @@
+/*
+ * Geddy JavaScript Web development framework
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+*/
+
+var Application = function () {
+};
+
+exports.Application = Application;
+
+
+
@@ -0,0 +1,37 @@
+/*
+ * Geddy JavaScript Web development framework
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+*/
+
+var Main = function () {
+ this.index = function (req, resp, params) {
+ this.respond(params, {
+ format: 'html'
+ , template: 'app/views/main/index'
+ });
+ };
+
+ this.community = function (req, resp, params) {
+ this.respond(params, {
+ format: 'html'
+ , template: 'app/views/main/community'
+ });
+ };
+};
+
+exports.Main = Main;
+
+
@@ -0,0 +1,67 @@
+!!! html
+
+html(lang="en")
+ head
+ meta(charset="utf-8")
+ meta(name="description", content="")
+ meta(name="author", content="")
+ meta(name="viewport", content="width=device-width")
+ title Geddy | A simple, structured Web framework for Node.
+
+ // The HTML5 shim, for IE6-8 support of HTML elements
+ //if lt IE 9
+ script(src="http://html5shim.googlecode.com/svn/trunk/html5.js")
+
+ != scriptLink('/js/jquery.min.js', {type:'text/javascript'})
+ != scriptLink('/js/bootstrap.min.js', {type:'text/javascript'})
+
+ != styleLink('/css/bootstrap.min.css', {rel:'stylesheet'})
+ != styleLink('/css/bootstrap.responsive.min.css', {rel:'stylesheet'})
+ != styleLink('/css/style.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")
+
+ body
+ .container
+ .row.header
+ h1.span6.title geddy
+ .span6.menu
+ .row
+ a.span2.icon(href='/')
+ span home
+ a.span2.icon(href='/documentation')
+ span documentation
+ a.span2.icon(href='/tutorial')
+ span tutorial
+ a.span2.icon(href='/blog')
+ span blog
+ a.span2.icon(href='/community')
+ span community
+ a.span2.icon(href='/faq')
+ span faq
+ != yield()
+ .row.footer
+ form.row.mail-list
+ .span8
+ input.email(name="email", placeholder="join the mailing list", type="email")
+ .span4
+ input.submit(type="submit", value="join")
+ .list.row
+ span.copyright © copyright 2112
+ ul.links
+ li.link
+ a(href="/home") home
+ li.link
+ a(href="/documentation") documentation
+ li.link
+ a(href="/tutorial") tutorial
+ li.link
+ a(href="/blog") blog
+ li.link
+ a(href="/community") community
+ li.link
+ a(href="/faq") faq
@@ -0,0 +1,45 @@
+.row.title
+ .span12
+ h2 Community resources
+.row
+ .span6.box
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span6.info
+.row
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+.row
+ .span6.info
+ .span6.box
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+.row
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+.row
+ .span6.box
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span2.avatar
+ .span6.info
+
@@ -0,0 +1,3 @@
+.row.title
+ .span12
+ h2 A simple, structured web framework for Node
View
@@ -0,0 +1,31 @@
+/*
+ * Geddy JavaScript Web development framework
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+*/
+
+var config = {
+ detailedErrors: true
+, debug: true
+, hostname: null
+, port: 4000
+, sessions: {
+ store: 'memory'
+ , key: 'sid'
+ , expiry: 14 * 24 * 60 * 60
+ }
+};
+
+module.exports = config;
@@ -0,0 +1,9 @@
+var config = {
+ /*
+ metrics: {
+ port: 4001
+ }
+ */
+};
+
+module.exports = config;
View
@@ -0,0 +1,15 @@
+
+// Add uncaught-exception handler in prod-like environments
+if (geddy.config.environment != 'development') {
+ process.addListener('uncaughtException', function (err) {
+ var msg = err.message;
+ if (err.stack) {
+ msg += '\n' + err.stack;
+ }
+ if (!msg) {
+ msg = JSON.stringify(err);
+ }
+ geddy.log.error(msg);
+ });
+}
+
View
@@ -0,0 +1,32 @@
+/*
+ * Geddy JavaScript Web development framework
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+*/
+
+var config = {
+ detailedErrors: false
+, hostname: null
+, port: 4000
+, sessions: {
+ store: 'cookie'
+ , key: 'sid'
+ , expiry: 14 * 24 * 60 * 60
+ }
+};
+
+module.exports = config;
+
+
View
@@ -0,0 +1,48 @@
+/*
+ * Geddy JavaScript Web development framework
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+*/
+
+
+var router = new geddy.RegExpRouter();
+
+router.get('/').to('Main.index');
+router.get('/community').to('Main.community');
+router.get('/documentation').to('Main.documentation');
+router.get('/tutorial').to('Main.tutorial');
+router.get('/faq').to('Main.faq');
+router.get('/blog').to('Blog.index');
+router.get('/blog/:year/:month/:day/:slug').to('Blog.show');
+
+// Basic routes
+// router.match('/moving/pictures/:id', 'GET').to('Moving.pictures');
+//
+// router.match('/farewells/:farewelltype/kings/:kingid', 'GET').to('Farewells.kings');
+//
+// Can also match specific HTTP methods only
+// router.get('/xandadu').to('Xanadu.specialHandler');
+// router.del('/xandadu/:id').to('Xanadu.killItWithFire');
+//
+// Resource-based routes
+// router.resource('hemispheres');
+//
+// Nested Resource-based routes
+// router.resource('hemispheres', function(){
+// this.resource('countries');
+// this.get('/print(.:format)').to('Hemispheres.print');
+// });
+
+exports.router = router;
No changes.
No changes.
Oops, something went wrong.

0 comments on commit e9f7a74

Please sign in to comment.