 Hello, I am Diego Licerezzo from the OpenShift Online team and I am going to create this small video just to show you how I set up my Windows machine to work with OpenShift Online. I also use this video to show some of the participants on the Global King Jam 2016 on how to use OpenShift Online to host their video games. This was after a small series of presentations at the Georgia State University on game development 101. So let's get to it. Of course the best place to start is at OpenShift.com. Here you can check all the features that may interest you in creating applications with OpenShift. For this video one of the most interesting things that we can do is to go to the menu and go to the developers. Here you can go to the Getting Started link that we're going to check at some point to the developer portal and documentation. This is really important if it's your first time that you visit OpenShift. The other thing here that you can do directly at OpenShift.com is to sign up for your free account at OpenShift Online and of course login to your account. When you log into your account this is a personal one that I created just for this. You can also check your applications and when you go to help you can also go to the developer portal and the documentation. Of course you can go directly to developers.openshift.com and you are going to find the Get Started link. Here you're going to find the documentation that you're going to need to install all the requirements for OpenShift to work on your local machine and you're going to have a link for each one of the different operating systems. So you have Windows, Mac, Fedora. For this video we're going to pick Windows. In this page you're going to find all the steps that you're going to need to get your Windows machine working with OpenShift. First you're going to have to install all the client tools on Windows including Ruby, Git and RHC to work directly with OpenShift. So let's start installing Ruby. To do so you can just follow the link. Obviously it's going to open another tab on your browser and you just try to find the latest version that you have here. I'm going to go for this one and also well you can read a little bit of documentation in case that you're curious about that. Perhaps you already use this in your own developments. So here it is the installer. It's going to take a little bit. I'm going to go back to the steps that we need to follow and you see that we already have another version that is newer than what is needed. Now that it downloaded we can start the installation process, pick your language and then we can accept the license to follow all the steps that we can see here on the tutorial. Please pay attention to the note that is added in the steps. It tells you that it's mandatory that you select the add Ruby executables to your path checkbox in order to run Ruby from the command line. So you can see it here on the image and we're going to do exactly that. Now you can see that your installation process has started. It may take a couple of seconds and here we go. We finish our Ruby installation. To make certain that we install everything correctly we're going to run the command prompt and then we're going to go to the root, see and after that we're going to type the command that we see here. Ruby minus V. We should have a similar result to what we see here in our instructions. You see the version of what is installed and we have a different version but that's basically the same thing. So we can know that installation went okay. Now if you don't see the message with the Ruby version perhaps you should pay attention to this last paragraph that is telling you what to do to fix it. You see here that you have to add executables to your path. After this is done we should go to the next step that is install git. In this case we're going to go for git for windows. We have the link here and we're going to download the installer. Now let's take into account this node that we see here and this is going to be important to install git. Now we just go to the installer, double click and we're going to follow the normal steps taken into consideration the node that I just mentioned. Of course just here to move here just to make certain that we're checking everything that we need to check. I'll check windows style, commit unique style endings and click launch on the desktop. I also want it there. Next and pretty much this process is going to be, here is where we need to really to consider this. So obviously we follow the advice that we will save. We can just say next and we have the different options. It's already set. In this case we can also pick the default console by windows and that's what I'm going to do and you can also decide if you're going to catch your file systems. So after that we just accept everything pretty much. Let the installer do its job. Then we're going to make certain that all the steps or everything that is included in this step is finished and then we're going to be able to configure the OpenShift gem that you can see right there. That is step number three. I know that it takes a little bit to install everything but fortunately well it's just the first time and I wanted to leave this in the video just so you have an idea of everything that I did, everything that I included on my preparation work for this machine and then you can basically compare. There are some steps that you can fast forward and you just can follow the steps that you have in directly in the developers page but I wanted to add it all there and it seems that we are finished. It's opening the release notes. You can check them if you need to. Then we're going to go back here to our steps and what we're going to do is to look for the command prompt. In this case I'm going to run it as an administrator. There we go. Back to the root and at that point I can basically just paste, copy paste this git command and we're going to be able to see the version and you're going to be able to compare with what we have in our steps and figure out that while the installation went correct. In this case you can tell that the version is different that well they are updating constantly so that's not going to be a surprise. After this we're going to go for step number three. So install and configure the OpenShift gem. Since we already installed Ruby we can use the RubyGems package that is included in Ruby to install the OpenShift Client tools. Now you can tell that the only thing that we have to do is to execute this command that we can copy paste from here. So gem install RHC. So well that's basically what I'm going to do. I'm going to paste it here. Quite likely it's going to ask me some sort of permission. There you go. So I'm going to allow access and then the process is going to start. Show you and it may take a little bit. I'm going to allow the process to go and you are going to be able to see all the messages that we receive during the process. At this point the installation should be done and we should be ready to go. Also here at the bottom of the instructions you can see this video by Nic Harvey that is going to show you basically the entire process in like in around four minutes. And it's quite interesting because well it's going to get you ready in case that you forget some of the steps. You can just go back and check it quickly there. After all the tools have been installed correctly you just have to do an RHC setup. You see the command here. You just have to copy that into your command prompt and execute. Now I did try to do that on my Windows machine. You can see it here and it had an error. So at this point the setup is just supposed to ask you for your login and password and OpenShift Online. But I was getting this error so I did the logical thing and tried to look online to see what was going to be the solution for that. Basically the first thing that I found was this entry in the StackOverflow and it explains quite in detail what happened. But the reality is that you just have to copy paste this install and execute it and after that you can continue the process correctly like without any problem. So well let's do that. So let's paste then. Install the gem. It's going to take a couple of seconds. And fetch, parsing, installing and there you go. Now it is. Now since that is solved I should try again the setup. Right? So here we go. At this point you can just hit enter to use OpenShift Online and continue. So let's go back to the steps. You see that it's basically the next step. It's going to ask you for your user and password. So let's do then. Hit enter. I'm not going to set up my own server right now. I'm going to use just OpenShift Online server and there you go. It's going to ask me my login. So let's enter that. And my password that of course I'm not going to tell you what that is. You are then prompted to generate an authorization token. So at that point you can just say yes. And it's going to authorize that. And then you are going to, well obviously check what that is about. You can check the details here. So this is where the key should be created. This case is going to tell me that I should upload the key. So I'm going to say yes. It's going to ask me for a name for the key. I'm just going to press enter. That's going to be pretty much it. Now let's compare with our steps. This is basically what we should have at the end. And that's similar to what we have. I see that in my case I already had configured one domain. So that was going to be the next step that it was going to tell me like hey you need a domain. You can name it whatever you want. In my case I already had something else. But it's already telling me that my client has been configured. So that's really good. So at this point you should be able to create and manage applications using OpenShift. And the wizard should also show you some of the options that you have. Well if not you can see them here at the portal. And you can create your own application or you can do something like Node.js, PHP etc etc. So you just can copy those comments here on the comment prompt. And you should be able to do that. In the following video quite likely we're going to see how to create our first OpenShift online application. Or at the very least how to host a video game that was the original purpose of this series of videos. I hope that you like the video in the entire series and that you give me some of your feedback. So have a great day!