{"id":8997,"date":"2016-03-11T17:34:32","date_gmt":"2016-03-11T14:34:32","guid":{"rendered":"http:\/\/blog.altoros.com\/?p=8997"},"modified":"2019-06-20T03:06:19","modified_gmt":"2019-06-20T00:06:19","slug":"getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/","title":{"rendered":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix"},"content":{"rendered":"<p>Deploying applications in <a href=\"https:\/\/www.cloudfoundry.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cloud Foundry<\/a> is easy. It is almost like <a href=\"https:\/\/en.wikipedia.org\/wiki\/Point-and-shoot_camera\" target=\"_blank\" rel=\"noopener noreferrer\">point and shoot<\/a>. However, deploying Cloud Foundry in your own data center may prove to be complicated. If you want all the Cloud Foundry perks <em>without<\/em> the hassle, you can choose to pay for a commercial PaaS based on it. From this series of blog posts, you will learn how to get it started with IBM Bluemix\u2014a Cloud Foundry distribution from IBM\u2014and how to deploy your apps to this platform.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Introduction_to_IBM_Bluemix\" >Introduction to IBM Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Trying_out_IBM_Bluemix\" >Trying out IBM Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Signing_up\" >Signing up<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#The_console\" >The console<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Deploying_your_first_application\" >Deploying your first application<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Whats_next\" >What&#8217;s next<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#Related_reading\" >Related reading<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Introduction_to_IBM_Bluemix\"><\/span>Introduction to IBM Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Of the many commercial options for deploying your applications in Cloud Foundry, <a href=\"https:\/\/www.ibm.com\/cloud\" target=\"_blank\" rel=\"noopener noreferrer\">IBM Bluemix<\/a> is one of the most popular choices. Recently, it has been gaining a lot of traction; it also provides a substantial catalog of valuable services to its customers.<\/p>\n<p>Bluemix runs on <a href=\"https:\/\/www.ibm.com\/cloud-computing\/in\/en\/iaas.html\" target=\"_blank\" rel=\"noopener noreferrer\">SoftLayer<\/a>, IBM&#8217;s IaaS offering, which ensures that you will have enough computing power to do whatever you like without running out of resources.<\/p>\n<p>Nevertheless, all the power in the world means nothing without flexibility. In that area, Bluemix allows you to deploy Java, Node.js, Go, PHP, Python, Ruby with Sinatra, and Ruby on Rails applications out-of-the-box. On top of that, just like with open-source Cloud Foundry, you can create buildpacks to add support for any programming language or framework.<\/p>\n<p>Also, the IBM Bluemix team made sure that you have any service available for your needs. They have an impressive catalog of runtimes, security services, databases, analytics software, network services, and more that you can explore in the <a href=\"https:\/\/cloud.ibm.com\/catalog\" target=\"_blank\" rel=\"noopener noreferrer\">Catalog<\/a> section.<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog.png\" alt=\"ibm-bluemix-services-catalog\" width=\"640\" class=\"aligncenter size-full wp-image-9003\" \/><\/a><\/center><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Trying_out_IBM_Bluemix\"><\/span>Trying out IBM Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you would like to try what it feels like to work with Bluemix, IBM is now offering a 30-day trial which starts when you confirm your account. During your trial, you&#8217;ll have access to Bluemix for building apps, 2 GB of runtime and container memory, as well as up to 10 provisioned Bluemix services. A good thing is that this trial is free of charge.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Signing_up\"><\/span>Signing up<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The process is pretty much straightforward:<\/p>\n<ol>\n<li>Go to <a href=\"https:\/\/cloud.ibm.com\/registration\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/console.bluemix.net\/registration\/<\/a>.<\/li>\n<li>Fill out your data.<\/li>\n<li>Register and an e-mail will be sent to your specified address.<\/li>\n<li>Click the confirmation link and then, after you have been redirected, click on the &#8220;Log In&#8221; link.<\/li>\n<li>Enter your e-mail and password and you are done!<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"The_console\"><\/span>The console<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As soon as you finish the signup process, Bluemix will provide you with a default organization and space, so you may start working immediately.<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-console-dashboard.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-console-dashboard.png\" alt=\"ibm-bluemix-console-dashboard\" width=\"640\" class=\"aligncenter size-full wp-image-9004\" \/><\/a><\/center><\/p>\n<p>Still, if you want to customize things a little bit and don&#8217;t want to type that much into the Cloud Foundry&#8217;s <a href=\"https:\/\/github.com\/cloudfoundry\/cli\" target=\"_blank\" rel=\"noopener noreferrer\">CLI<\/a>, a nice console is there for you.<\/p>\n<p>On the left side, you will find information about your Orgs and Spaces, as well as the applications deployed and resources used. On the right side (or the main panel), there are tiles that will help you to perform different tasks.<\/p>\n<p>You can create spaces, but there is only one organization; it is set to the e-mail that you used for your registration.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Deploying_your_first_application\"><\/span>Deploying your first application<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Try deploying a simple application as a starting point in your Bluemix journey.<\/p>\n<ol>\n<li style=\"margin-bottom: 12px;\">First, you have to login with the CLI by issuing the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">cf login -a https:\/\/api.ng.bluemix.net<\/code> command:<\/li>\n<pre style=\"padding-left: 30px;\"><code>$ cf login -a https:\/\/api.ng.bluemix.net\nAPI endpoint: https:\/\/api.ng.bluemix.net<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>Email&gt; your@email<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>Password&gt; \nAuthenticating...\nOK<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>Targeted org your@email<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>Targeted space dev<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>API endpoint:   https:\/\/api.ng.bluemix.net (API version: 2.40.0)   \nUser:           your@email\nOrg:            your@email\nSpace:          dev<\/code><\/pre>\n<li style=\"margin-bottom: 12px;\">Once you are logged in, clone the repository with the code:<\/li>\n<pre style=\"padding-left: 30px;\"><code>$ git clone https:\/\/github.com\/Altoros\/cf-example-sinatra.git\nCloning into 'cf-example-sinatra'...\nremote: Counting objects: 39, done.\nremote: Total 39 (delta 0), reused 0 (delta 0), pack-reused 39\nUnpacking objects: 100% (39\/39), done.\nChecking connectivity... done.<\/code><\/pre>\n<li style=\"margin-bottom: 12px;\">Now you can push the application to Bluemix. To do this, you need to choose an application name. Since application names are unique across all applications deployed in Bluemix, you have to pick a unique, exclusive name. As a rule of thumb, if you put your e-mail&#8217;s local part (the text before the &#8216;@&#8217; symbol) as the prefix or the suffix of the application name, there will be no issue with duplicated or taken application names. Or, simply use some weird words you might like!<\/li>\n<pre style=\"padding-left: 30px;\"><code>$ cd cf-example-sinatra\n$ cf push my-first-app-bluemixrocks<\/code><\/pre>\n<li>Once the push command has finished, you can go to <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">http:\/\/my-first-app-bluemixrocks.mybluemix.net\/<\/code> and see your app live.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Whats_next\"><\/span>What&#8217;s next<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the next posts, we will use Bluemix&#8217;s capabilities to start building an application from scratch, and, later on, connect that application to a Bluemix service, such as a database.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Related_reading\"><\/span>Related reading<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/continuous-integration-and-continuous-delivery-in-ibm-bluemix\/\">Continuous Integration and Continuous Delivery in IBM Bluemix<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/the-ibm-bluemix-object-storage-service-in-ruby-projects\/\">Using IBM Bluemix Object Storage in Ruby Projects<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/deploying-a-rails-app-with-elasticsearch-to-ibm-bluemix\/\">Deploying a Rails App with Elasticsearch to IBM Bluemix<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/demo-building-java-apps-with-bluemix-and-db2\/\">Building Java Apps with IBM Bluemix and DB2<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/how-to-connect-to-xpages-nosql-db-from-the-node-js-runtime-in-bluemix\/\">How to Connect to XPages NoSQL DB from the Node.js Runtime in Bluemix<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Deploying applications in Cloud Foundry is easy. It is almost like point and shoot. However, deploying Cloud Foundry in your own data center may prove to be complicated. If you want all the Cloud Foundry perks without the hassle, you can choose to pay for a commercial PaaS based on [&#8230;]<\/p>\n","protected":false},"author":72,"featured_media":44441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[873,187],"class_list":["post-8997","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cloud-native","tag-ibm-bluemix"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Deploying a Sample Ruby\/Sinatra App to IBM Bluemix | Altoros<\/title>\n<meta name=\"description\" content=\"Learn how to get started with the Cloud Foundry\u2013based platform from IBM.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix | Altoros\" \/>\n<meta property=\"og:description\" content=\"Deploying applications in Cloud Foundry is easy. It is almost like point and shoot. However, deploying Cloud Foundry in your own data center may prove to be complicated. If you want all the Cloud Foundry perks without the hassle, you can choose to pay for a commercial PaaS based on [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-11T14:34:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-20T00:06:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"725\" \/>\n\t<meta property=\"og:image:height\" content=\"580\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Juan Pablo Genovese\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Pablo Genovese\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/\"},\"author\":{\"name\":\"Juan Pablo Genovese\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/bab57a26eebaa36ceb969b5230441203\"},\"headline\":\"Deploying a Sample Ruby\\\/Sinatra App to IBM Bluemix\",\"datePublished\":\"2016-03-11T14:34:32+00:00\",\"dateModified\":\"2019-06-20T00:06:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/\"},\"wordCount\":737,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/ibm-bluemix-services-catalog-icon-1.png\",\"keywords\":[\"Cloud-Native\",\"IBM Bluemix\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/\",\"name\":\"Deploying a Sample Ruby\\\/Sinatra App to IBM Bluemix | Altoros\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/ibm-bluemix-services-catalog-icon-1.png\",\"datePublished\":\"2016-03-11T14:34:32+00:00\",\"dateModified\":\"2019-06-20T00:06:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/bab57a26eebaa36ceb969b5230441203\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/ibm-bluemix-services-catalog-icon-1.png\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/ibm-bluemix-services-catalog-icon-1.png\",\"width\":725,\"height\":580},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploying a Sample Ruby\\\/Sinatra App to IBM Bluemix\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/bab57a26eebaa36ceb969b5230441203\",\"name\":\"Juan Pablo Genovese\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg\",\"caption\":\"Juan Pablo Genovese\"},\"description\":\"Juan Pablo Genovese is a Field Cloud Foundry Engineer at Altoros. He has been developing software for 18 years, and as a Jack Of All Trades, has also been into DevOps work. Juan Pablo is focused on training new DevOps at Altoros and identifying the needs of the community. His professional interests include high performance\\\/high availability solutions with cloud technologies, as well as designing architectures that meet customer expectations.\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/author\\\/juan-pablo-genovese\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix | Altoros","description":"Learn how to get started with the Cloud Foundry\u2013based platform from IBM.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/","og_locale":"en_US","og_type":"article","og_title":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix | Altoros","og_description":"Deploying applications in Cloud Foundry is easy. It is almost like point and shoot. However, deploying Cloud Foundry in your own data center may prove to be complicated. If you want all the Cloud Foundry perks without the hassle, you can choose to pay for a commercial PaaS based on [...]","og_url":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/","og_site_name":"Altoros","article_published_time":"2016-03-11T14:34:32+00:00","article_modified_time":"2019-06-20T00:06:19+00:00","og_image":[{"width":725,"height":580,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png","type":"image\/png"}],"author":"Juan Pablo Genovese","twitter_misc":{"Written by":"Juan Pablo Genovese","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#article","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/"},"author":{"name":"Juan Pablo Genovese","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/bab57a26eebaa36ceb969b5230441203"},"headline":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix","datePublished":"2016-03-11T14:34:32+00:00","dateModified":"2019-06-20T00:06:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/"},"wordCount":737,"commentCount":0,"image":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png","keywords":["Cloud-Native","IBM Bluemix"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/","url":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/","name":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png","datePublished":"2016-03-11T14:34:32+00:00","dateModified":"2019-06-20T00:06:19+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/bab57a26eebaa36ceb969b5230441203"},"breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-services-catalog-icon-1.png","width":725,"height":580},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Deploying a Sample Ruby\/Sinatra App to IBM Bluemix"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/bab57a26eebaa36ceb969b5230441203","name":"Juan Pablo Genovese","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/AAEAAQAAAAAAAAj2AAAAJGQ2MGU4ZDllLTllMDktNGY5Yi05NjBhLTY3ODc1YWViZTVkYw-150x150.jpg","caption":"Juan Pablo Genovese"},"description":"Juan Pablo Genovese is a Field Cloud Foundry Engineer at Altoros. He has been developing software for 18 years, and as a Jack Of All Trades, has also been into DevOps work. Juan Pablo is focused on training new DevOps at Altoros and identifying the needs of the community. His professional interests include high performance\/high availability solutions with cloud technologies, as well as designing architectures that meet customer expectations.","url":"https:\/\/www.altoros.com\/blog\/author\/juan-pablo-genovese\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/8997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=8997"}],"version-history":[{"count":6,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/8997\/revisions"}],"predecessor-version":[{"id":44444,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/8997\/revisions\/44444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/44441"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=8997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=8997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=8997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}