https://github.com/phusion/passenger-ruby-sinatra-demo
Passenger: Sinatra example app
https://github.com/phusion/passenger-ruby-sinatra-demo
Last synced: 12 months ago
JSON representation
Passenger: Sinatra example app
- Host: GitHub
- URL: https://github.com/phusion/passenger-ruby-sinatra-demo
- Owner: phusion
- License: mit
- Created: 2015-04-01T11:56:16.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T05:40:38.000Z (over 3 years ago)
- Last Synced: 2025-06-11T06:13:06.455Z (about 1 year ago)
- Language: HTML
- Size: 15.6 KB
- Stars: 17
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Passenger: Sinatra example app
This is a [Sinatra](http://www.sinatrarb.com/) hello world example app for [the Passenger application server](https://www.phusionpassenger.com/).
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:
```bash
bundle config set --local path 'vendor/bundle'
bundle install
```
Run the application:
```bash
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.