phusion / passenger-ruby-sinatra-demo

Passenger: Sinatra example app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Passenger: Sinatra example app

License:MIT License


Languages

Language:HTML 52.3%Language:Ruby 47.7%