Skip to content

ryanj/sinatra-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A basic Sinatra quickstart

With support for serving easy APIs and static content

Build Status Deploy

To deploy a clone of this application using the rhc command line tool:

rhc app create sinatra ruby-1.9 --from-code=https://github.com/ryanj/sinatra-base.git

Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:

https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=ruby-1.9&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Fsinatra-base.git

Local server

First, make sure your application has it's dependencies available by running:

bundle install

Then, start up a local webserver by running:

ruby app.rb

License

This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)

About

A basic Sinatra example with support for easy APIs and static files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages