Giter Site home page Giter Site logo

cf_demoapp_ruby_rack's Introduction

Simple Hello World app ready for Cloud Foundry

To deploy:

$ cf push
Using manifest file manifest.yml

Custom startup command> none

Creating hello... OK

1: hello
2: none
Subdomain> hello

1: mypaas.com
2: none
Domain> mypaas.com

Binding hello.mypaas.com to hello... OK
Uploading hello... OK
Starting hello... OK
-----> Downloaded app package (4.0K)
Installing ruby.
-----> Using Ruby version: ruby-1.9.2
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       Fetching gem metadata from https://rubygems.org/..........
       Installing rack (1.5.2)
       Using bundler (1.3.2)
       Your bundle is complete! It was installed into ./vendor/bundle
       Cleaning up the bundler cache.
-----> Uploading staged droplet (24M)
-----> Uploaded droplet
Checking hello...
Staging in progress...
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  1/1 instances: 1 running
OK

$ curl hello.mypaas.com
Hello World!

Note about proxy configuration :

you could adapt the push :

  cf --http-proxy http://myproxy.myproxydomain:8080 --https-proxy http://myproxy.myproxydomain:8080 push

and change the manifest.yml by appending this lines :

   env:
    HTTP_PROXY: myproxy.myproxydomain:8080
    HTTPS_PROXY: myproxy.myproxydomain:8080

cf_demoapp_ruby_rack's People

Contributors

drnic avatar geofffranks avatar boly38 avatar

Stargazers

Emile Swarts avatar Andy Piper avatar

Watchers

Tyler Poland avatar  avatar Dennis J. Bell avatar Shawn Neal avatar James Cloos avatar Bertrand Lupart avatar Quintessence avatar Benjamin Gandon avatar Xiujiao Gao avatar DigitalEagle avatar  avatar  avatar

Forkers

boly38 royrui

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.