Giter Club home page Giter Club logo

piroku-demo's Introduction

Ruby Quick Start Guide

This guide will walk you through deploying a Ruby application on Deis.

Usage

$ git clone https://github.com/deis/example-ruby-sinatra.git
$ cd example-ruby-sinatra
$ deis create
$ git push deis master
Counting objects: 117, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (66/66), done.
Writing objects: 100% (117/117), 23.71 KiB | 0 bytes/s, done.
Total 117 (delta 51), reused 99 (delta 43)
-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.7.12
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from http://rubygems.org/..........
       Using bundler 1.7.12
       Installing tilt 2.0.1
       Installing rack 1.6.1
       Installing rack-protection 1.5.3
       Installing sinatra 1.4.6
       Your bundle is complete!
       Gems in the groups development and test were not installed.
       It was installed into ./vendor/bundle
       Bundle completed (4.49s)
       Cleaning up the bundler cache.

-----> Discovering process types
       Procfile declares types -> web
       Default process types for Ruby -> rake, console, web
-----> Compiled slug size is 16M

-----> Building Docker image
remote: Sending build context to Docker daemon 16.67 MB
remote: build context to Docker daemon
Step 0 : FROM deis/slugrunner
 ---> 385e8129fbdf
Step 1 : RUN mkdir -p /app
 ---> Running in 197b84e685df
 ---> 877ce2869c1c
Removing intermediate container 197b84e685df
Step 2 : WORKDIR /app
 ---> Running in d01eb9481986
 ---> 40b847b64730
Removing intermediate container d01eb9481986
Step 3 : ENTRYPOINT /runner/init
 ---> Running in 791a0331c54e
 ---> fe7cf39f55ff
Removing intermediate container 791a0331c54e
Step 4 : ADD slug.tgz /app
 ---> 16614c6abbe6
Removing intermediate container 882592a87784
Step 5 : ENV GIT_SHA f1aaf798dc8a66d9bcf38dffacdce3f3fdb8f41d
 ---> Running in c0a8f8f8da51
 ---> 049f8c3e23da
Removing intermediate container c0a8f8f8da51
Successfully built 049f8c3e23da
-----> Pushing image to private registry

-----> Launching...
       done, dogged-nautilus:v2 deployed to Deis

       http://dogged-nautilus.local3.deisapp.com

       To learn more, use `deis help` or visit http://deis.io

To ssh://[email protected]:2222/dogged-nautilus.git
 * [new branch]      master -> master
$ curl http://dogged-nautilus.local3.deisapp.com
Powered by Deis
Running on container ID 27877b89e278
$ deis config:set POWERED_BY="Engine Yard"
Creating config... done, v3

=== dogged-nautilus
DEIS_APP: dogged-nautilus
POWERED_BY: Engine Yard
$ curl http://dogged-nautilus.local3.deisapp.com
Powered by Engine Yard
Running on container ID 8a9fc2a79248

Additional Resources

piroku-demo's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.