diff --git a/README.markdown b/README.markdown index e2abfe7..75e9a41 100644 --- a/README.markdown +++ b/README.markdown @@ -11,12 +11,16 @@ it](http://heroku.com/docs/index.html#_manage_keys_on_heroku) Now, clone and deploy! -`projects $ git clone git://github.com/sinatra/heroku-sinatra-app` +`projects $ wget http://github.com/sinatra/heroku-sinatra-app/tarball/master` -`projects $ cd heroku-sinatra-app` +`projects $ tar xzvf sinatra-heorku-sinatra-app-.tar.gz` + +`projects $ mv sinatra-heroku-sinatra-app-/ my_new_app/` `my_new_app $ heroku create --remote` +`my_new_app $ mv heroku-sinatra-app.r my_new_app.rb` + `my_new_app $ git push heroku master` Now you may view your site at `http://.heroku.com` diff --git a/config/rackup.ru b/config/rackup.ru index 3268416..896dc4b 100644 --- a/config/rackup.ru +++ b/config/rackup.ru @@ -1,16 +1,3 @@ -require 'rubygems' - -# We will need to require Sinatra to gain -# access to the Sinatra environment for -# bootstrapping before loading the application -require 'sinatra' - -# This will soon not be needed on Heroku. -# For now it's important that you set the -# environment before requiring the application -# to allow `configure` to work properly -set :environment, :production - # This is for convenice. The defacto Sinatra standard # is to name your application file after it's parent # directory @@ -27,4 +14,4 @@ require "#{parent_directory}/#{application_name}.rb" disable :run, :reload # Finally, let's jam! -run Sinatra::Application \ No newline at end of file +run Sinatra::Application