Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update w/ heroku runtime

  • Loading branch information...
commit 290c3cf81c70e1e6edb2b81035a4120cecb5f368 1 parent 740d55a
@sylvinus sylvinus authored
Showing with 113 additions and 15 deletions.
  1. +2 −0  .gitignore
  2. +1 −0  Procfile
  3. +44 −0 app.js
  4. +7 −0 package.json
  5. 0  { → public}/images/christian.jpeg
  6. 0  { → public}/images/christian_big.png
  7. 0  { → public}/images/jeremy_ashkenas_headshot.png
  8. 0  { → public}/images/kung-fu.jpg
  9. 0  { → public}/images/logo.png
  10. 0  { → public}/images/misc/button-gloss.png
  11. 0  { → public}/images/misc/button-overlay.png
  12. 0  { → public}/images/misc/custom-form-sprites.png
  13. 0  { → public}/images/misc/input-bg-outset.png
  14. 0  { → public}/images/misc/input-bg.png
  15. 0  { → public}/images/misc/modal-gloss.png
  16. 0  { → public}/images/misc/table-sorter.png
  17. 0  { → public}/images/orbit/bullets.jpg
  18. 0  { → public}/images/orbit/left-arrow.png
  19. 0  { → public}/images/orbit/loading.gif
  20. 0  { → public}/images/orbit/mask-black.png
  21. 0  { → public}/images/orbit/pause-black.png
  22. 0  { → public}/images/orbit/right-arrow.png
  23. 0  { → public}/images/orbit/rotator-black.png
  24. 0  { → public}/images/orbit/timer-black.png
  25. +59 −15 { → public}/index.html
  26. 0  { → public}/javascripts/app.js
  27. 0  { → public}/javascripts/jquery.customforms.js
  28. 0  { → public}/javascripts/jquery.min.js
  29. 0  { → public}/javascripts/jquery.orbit-1.4.0.js
  30. 0  { → public}/javascripts/jquery.placeholder.min.js
  31. 0  { → public}/javascripts/jquery.reveal.js
  32. 0  { → public}/javascripts/jquery.tooltips.js
  33. 0  { → public}/javascripts/modernizr.foundation.js
  34. 0  { → public}/stylesheets/app.css
  35. 0  { → public}/stylesheets/forms.css
  36. 0  { → public}/stylesheets/globals.css
  37. 0  { → public}/stylesheets/grid.css
  38. 0  { → public}/stylesheets/ie.css
  39. 0  { → public}/stylesheets/mobile.css
  40. 0  { → public}/stylesheets/orbit.css
  41. 0  { → public}/stylesheets/reveal.css
  42. 0  { → public}/stylesheets/typography.css
  43. 0  { → public}/stylesheets/ui.css
View
2  .gitignore
@@ -51,3 +51,5 @@ fonts/pictos-web.svg
fonts/pictos-web.ttf
fonts/pictos-web.woff
+
+node_modules
View
1  Procfile
@@ -0,0 +1 @@
+web: node app.js
View
44 app.js
@@ -0,0 +1,44 @@
+var express = require('express'),
+ app = express.createServer()
+
+// Reference
+// http://expressjs.com/guide.html
+// https://github.com/spadin/simple-express-static-server
+// http://devcenter.heroku.com/articles/node-js
+
+// Configuration
+app.configure(function(){
+ app.use(express.static(__dirname + '/public'));
+ app.use(express.bodyParser());
+ app.use(express.methodOverride());
+
+ // LESS Support
+ //app.use(express.compiler({ src: __dirname + '/public', enable: ['less'] }));
+ // Template-enabled html view (by jade)
+ // http://stackoverflow.com/questions/4529586/render-basic-html-view-in-node-js-express
+ //app.set('views', __dirname + '/app/views');
+ //app.register('.html', require('jade'));
+
+ //Error Handling
+ app.use(express.logger());
+ app.use(express.errorHandler({
+ dumpExceptions: true,
+ showStack: true
+ }));
+
+ //Setup the Route, you are almost done
+ app.use(app.router);
+});
+
+app.get('/', function(req, res){
+ //Apache-like static index.html (public/index.html)
+ res.redirect("/index.html");
+ //Or render from view
+ //res.render("index.html")
+});
+
+//Heroku
+var port = process.env.PORT || 3000;
+app.listen(port, function() {
+ console.log("Listening on " + port);
+});
View
7 package.json
@@ -0,0 +1,7 @@
+{
+ "name": "heroku-node-wildcard",
+ "version": "0.0.1",
+ "dependencies": {
+ "express": "2.4.6"
+ }
+}
View
0  images/christian.jpeg → public/images/christian.jpeg
File renamed without changes
View
0  images/christian_big.png → public/images/christian_big.png
File renamed without changes
View
0  images/jeremy_ashkenas_headshot.png → public/images/jeremy_ashkenas_headshot.png
File renamed without changes
View
0  images/kung-fu.jpg → public/images/kung-fu.jpg
File renamed without changes
View
0  images/logo.png → public/images/logo.png
File renamed without changes
View
0  images/misc/button-gloss.png → public/images/misc/button-gloss.png
File renamed without changes
View
0  images/misc/button-overlay.png → public/images/misc/button-overlay.png
File renamed without changes
View
0  images/misc/custom-form-sprites.png → public/images/misc/custom-form-sprites.png
File renamed without changes
View
0  images/misc/input-bg-outset.png → public/images/misc/input-bg-outset.png
File renamed without changes
View
0  images/misc/input-bg.png → public/images/misc/input-bg.png
File renamed without changes
View
0  images/misc/modal-gloss.png → public/images/misc/modal-gloss.png
File renamed without changes
View
0  images/misc/table-sorter.png → public/images/misc/table-sorter.png
File renamed without changes
View
0  images/orbit/bullets.jpg → public/images/orbit/bullets.jpg
File renamed without changes
View
0  images/orbit/left-arrow.png → public/images/orbit/left-arrow.png
File renamed without changes
View
0  images/orbit/loading.gif → public/images/orbit/loading.gif
File renamed without changes
View
0  images/orbit/mask-black.png → public/images/orbit/mask-black.png
File renamed without changes
View
0  images/orbit/pause-black.png → public/images/orbit/pause-black.png
File renamed without changes
View
0  images/orbit/right-arrow.png → public/images/orbit/right-arrow.png
File renamed without changes
View
0  images/orbit/rotator-black.png → public/images/orbit/rotator-black.png
File renamed without changes
View
0  images/orbit/timer-black.png → public/images/orbit/timer-black.png
File renamed without changes
View
74 index.html → public/index.html
@@ -51,30 +51,72 @@
<div class="row">
<div class="eight columns centered">
<!-- <h2>dotJS</h2> -->
- <img src="images/logo.png" style="height:100px;">
- <h4>Biggest HTML5/JavaScript conference in France</h4>
- <hr>
+ <a href="http://dotjs.fr/"><img src="images/logo.png" style="height:100px;padding-top:60px"></a>
+ <h4>The largest JavaScript conference in France</h4>
+
</div>
</div>
<div class="row">
<div class="eight columns centered" style="text-align:center">
- <div class="alert-box">
- <h5><em>November 30th</em> in <em>Paris, France</em></h5>
- </div>
- </div>
- </div>
+
+ <h5>November 30, 2012<br/>Paris, France</h5>
+
+ <hr/>
- <div class="row">
- <div class="eight columns centered">
<h3>Speakers</h3>
- <ul class="block-grid two-up">
- <li><img src="images/jeremy_ashkenas_headshot.png"><h4><a href="http://ashkenas.com">Jeremy Ashkenas</a></h4></li>
- <li><img src="images/kung-fu.jpg"><h4><a href="http://mathiasbynens.be">Mathias Bynens</a></h4></li>
- <li><img src="images/christian_big.png"><h4><a href="http://christiankvalheim.com">Christian Amor Kvalheim</a></h4></li>
- <li><img src="http://placekitten.com/300/300"><h4>To be announced</h4></li>
+ <ul class="block-grid three-up">
+ <li><img src="images/jeremy_ashkenas_headshot.png"><h5><a href="http://ashkenas.com">Jeremy Ashkenas</a></h5><p>Created Backbone.js, Underscore.js &amp; CoffeeScript
+</p></li>
+ <li><img src="images/kung-fu.jpg"><h5><a href="http://mathiasbynens.be">Mathias Bynens</a></h5><p>Created jsperf.com, contributes to HTML5 Boilerplate
+</p></li>
+ <li><img src="images/christian_big.png"><h5><a href="http://christiankvalheim.com">Christian Amor Kvalheim</a></h5><p>Created the MongoDB driver for Node.js
+</p></li>
+ <!--<li><img src="http://placekitten.com/300/300"></li>-->
</ul>
+ <h6>Next awesome speakers to be announced at <a href="http://sudweb.fr/">SudWeb</a> &amp; <a href="http://parisjs.org/">ParisJS</a></h6>
+
+ <br/>
+
+ <hr/>
+
+ <h3>Partners</h3>
+
+ <h6>Partnership packages are available on request: <a href="mailto:contact@dotjs.fr">contact@dotjs.fr</a></h6>
+
+ <br/>
+
+ <hr/>
+
+ <h3>F.A.Q.</h3>
+
+ <div style="text-align:left;">
+ <h5>What is the schedule of the conference?</h5>
+
+ <p>dotJS is a full-day (Friday), single-track event with lunch served to all attendees.</p>
+
+ <h5>Will it be about front-end or back-end JavaScript?</h5>
+
+ <p>Both.</p>
+
+ <h5>Who are the organizers?</h5>
+
+ <p><a href="http://twitter.com/sylvinus">@sylvinus</a> and <a href="http://twitter.com/tbassetto">@tbassetto</a>. Help is welcome!</p>
+
+ <h5>When will tickets be on sale?</h5>
+
+ <p>Very soon! Leave your email below to be kept updated.</p>
+
+ <h5>Will this be yet another crazy expensive conference?</h5>
+
+ <p>No. This is a conference by hackers for hackers. We will try to keep the price below 100€.</p>
+
+ <br/>
+
+ </div>
+ <hr/>
+
<div id="wufoo-w7x3k1">
Fill out my <a href="http://thomasb.wufoo.com/forms/w7x3k1">online form</a>.
</div>
@@ -103,6 +145,8 @@
</form> -->
</div>
+ <hr/>
+
</div>
</div>
<!-- container -->
View
0  javascripts/app.js → public/javascripts/app.js
File renamed without changes
View
0  javascripts/jquery.customforms.js → public/javascripts/jquery.customforms.js
File renamed without changes
View
0  javascripts/jquery.min.js → public/javascripts/jquery.min.js
File renamed without changes
View
0  javascripts/jquery.orbit-1.4.0.js → public/javascripts/jquery.orbit-1.4.0.js
File renamed without changes
View
0  javascripts/jquery.placeholder.min.js → public/javascripts/jquery.placeholder.min.js
File renamed without changes
View
0  javascripts/jquery.reveal.js → public/javascripts/jquery.reveal.js
File renamed without changes
View
0  javascripts/jquery.tooltips.js → public/javascripts/jquery.tooltips.js
File renamed without changes
View
0  javascripts/modernizr.foundation.js → public/javascripts/modernizr.foundation.js
File renamed without changes
View
0  stylesheets/app.css → public/stylesheets/app.css
File renamed without changes
View
0  stylesheets/forms.css → public/stylesheets/forms.css
File renamed without changes
View
0  stylesheets/globals.css → public/stylesheets/globals.css
File renamed without changes
View
0  stylesheets/grid.css → public/stylesheets/grid.css
File renamed without changes
View
0  stylesheets/ie.css → public/stylesheets/ie.css
File renamed without changes
View
0  stylesheets/mobile.css → public/stylesheets/mobile.css
File renamed without changes
View
0  stylesheets/orbit.css → public/stylesheets/orbit.css
File renamed without changes
View
0  stylesheets/reveal.css → public/stylesheets/reveal.css
File renamed without changes
View
0  stylesheets/typography.css → public/stylesheets/typography.css
File renamed without changes
View
0  stylesheets/ui.css → public/stylesheets/ui.css
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.