Skip to content

joeyates/sinatra-address-book

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

sinatra-address-book

An example program of various Sinatra functionality.

Installation

Install Ruby gems:

bundle install --path=./vendor/bundle

Develop

Run the server:

bundle exec rackup -p 3000

Heroku

Database setup:

heroku addons:add heroku-postgresql:dev

Note the name of the environment variable, e.g. HEROKU_POSTGRESQL_ROSE_URL

heroku pg:promote HEROKU_POSTGRESQL_COLOR_URL

About

Sinatra examples that appear in my Packtpub book (http://www.packtpub.com/sinatra-starter/book)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages