A skeleton for a Sinatra-based Ruby webapp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
views
.gitignore
Gemfile
Procfile
README.md
app.rb
config.ru

README.md

About

I created this project as a starting point for a Sinatra-based Ruby project hosted on Heroku. It's not the best setup (see the food inspections project for a better example) but it's enough to get going.

Gems

$ rvm install --default 2.1
$ gem install --no-ri mysql pg bundler heroku sass haml liquid
$ bundle install

Heroku

$ heroku create --stack cedar
$ git clone git@heroku.com:HEROKUPROJECTNAME.git .
$ heroku addons:add custom_domains:basic
$ heroku domains:add YOURDOMAIN
$ heroku domains:add www.YOURDOMAIN