Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Static page on heroku based on sinatra
source :rubygems
gem 'rack'
gem 'sinatra'
require './app'
run Sinatra::Application
require 'sinatra'
set :public_folder, 'public'
get "/" do
redirect '/navigation.html'
#test local
#push heroku
git init && git add . && git commit -am "init commit"
#add remote to git
heroku apps:create myapp
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.