An open API service indexing awesome lists of open source software.

https://github.com/scalingo/sample-ruby-sinatra

Sample application using Ruby with the microframework Sinatra
https://github.com/scalingo/sample-ruby-sinatra

ruby sample sinatra

Last synced: 5 months ago
JSON representation

Sample application using Ruby with the microframework Sinatra

Awesome Lists containing this project

README

          

# Sample Application with Ruby and Sinatra

This sample is running on: https://ruby-sinatra.is-easy-on-scalingo.com/

## Deploy via Git

Create an application on https://scalingo.com, then:

```shell
git remote add scalingo git@scalingo.com:.git
git push scalingo master
```

And that's it!

## Deploy via One-Click

[![Deploy to Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy)

## Running Locally

```shell
bundle install
ruby main.rb
```

The application is available at: http://localhost:4567/