Skip to content

gterrono/sinatra-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PennApps Sinatra

About

This is a little webapp designed to show how to win PennApps with some classy web-development (using Sinatra). This app is live at http:https://pennapps-sinatra.herokuapp.com.

Setup

You also may have to install gcc and g++

Running the app

  • Run foreman start in the same directory as sample_app.rb
  • The app can be viewed in a browser at [localhost:5000] (http:https://localhost:5000)

Deployment

  • Create a heroku account at http:https://heroku.com
  • Login to heroku by running heroku login
  • Run heroku create
  • Deploy with git push heroku master

Libraries Used