Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 709 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 709 Bytes

Passenger: Sinatra example app

This is a Sinatra hello world example app for the Passenger application server.

The main branch contains the code without Passenger installed.

The end_result branch contains the code with Passenger installed.

Run git diff origin/main..origin/end_result to see what's different.

Running the app

Install dependencies locally:

bundle config set --local path 'vendor/bundle'
bundle install

Run the application:

bundle exec rackup

You can then view the application by pointing your browser to localhost:port where port is the number given when starting the application.