/sinatra-up-demo

How to deploy a ruby application using Up serverless framework

Primary LanguageRuby

This is a demonstration of how to deploy ruby applications with Up framework. I'm using the Sinatra framework with a simple web app containing 2 routes, / and /fake

Based on Traveling Ruby tutorial 2.

Make sure you are using ruby 2.2.2. Open your terminal:

git clone https://github.com/luisbebop/sinatra-up-demo.git
cd sinatra-up-demo
rake package:linux:x86_64
cd server-1.0.0-linux-x86_64

Deploy the app using Up:

up
up url
curl `up url`