Skip to content
Browse files

Ready for Heroku

  • Loading branch information...
1 parent 7ca5e2c commit a6fc6a1cca4b3dcb42cf760fe7ef79c56d7f5b4c @DanielVartanov committed Nov 12, 2011
Showing with 11 additions and 2 deletions.
  1. +1 −0 Procfile
  2. +8 −0 application.rb
  3. +2 −2 views/layout.haml
View
1 Procfile
@@ -0,0 +1 @@
+web: bundle exec ruby application.rb -p $PORT
View
8 application.rb
@@ -0,0 +1,8 @@
+require "sinatra"
+require "haml"
+
+set :public_folder, File.dirname(__FILE__) + '/public'
+
+get '/' do
+ haml :index
+end
View
4 views/layout.haml
@@ -13,9 +13,9 @@
%script{type:"text/javascript", src:"http://maps.googleapis.com/maps/api/js?sensor=false"}
:javascript
function initialize() {
- var latlng = new google.maps.LatLng(-34.397, 150.644);
+ var latlng = new google.maps.LatLng(42.830022, 74.587883);
var myOptions = {
- zoom: 8,
+ zoom: 13,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};

0 comments on commit a6fc6a1

Please sign in to comment.
Something went wrong with that request. Please try again.