From the course: OpenAI API and MCP Development

Setting up GitHub Codespaces

From the course: OpenAI API and MCP Development

Setting up GitHub Codespaces

So now, to get started, you need to access the exercise files. So in order to follow along. So I'm gonna show you how to access and download the exercise files, so you can access them from the main course page. And you also have the option to clone the remote repository from here. You can just copy it, then run git clone followed by this HTTPS URL to add it to your project, to your local machine. All right. Next, we want to see how to actually use the branches and exercise files. So, for your information, you can always go straight to one specific stage of the course. If you'd like to start at one specific point of time and stage of the course, you can always check out for one specific branch. And the way that the branches are structured are with the chapter number and video number. So for example, 0203, that corresponds to chapter number two and video number three. Then you have different states. So you have the beginning and end states. So for example, with a starter project starting with a B. So the branch starting with a B will be for the beginning of the demonstration. Then you have the final states with the branch ending with an E. An E for end. So let's go back up to actually see like here we have the branches. And for example, let's say that you'd like to start with the project for the chapter number three and video number three, you're gonna go with B to start. B, which is the state for the beginning of the demonstration. Or you can always check out the final version to see the solution of one specific demonstration with the state or the branch ending with an E. All right. And the other thing we're gonna do during this course is to use cut spaces. So instead of using it at this level, we're going to use our personal accounts. So I'm going to take you to my personal accounts and the list of repositories that I have. So at some point, I'm going to show you one example to connect GitHub models with Actions to create and start workflow, CICD workflows. You're going to see that this is very interesting to allow to call AI models during our workflow. So that's going to be an interesting demonstration. And to interact and call AI models, you need a secret key from OpenAI. And for a security reason, you need to set it up using your personal account, because this is something that you use privately and only locally with your personal account. So let me take you to the settings for my repository. You're going to find here this security section. We're going to go to secrets and variables, and here you're going to find code spaces. and this is where you set up your private and personal secret key. So because you cannot share or expose publicly your secret key, we're going to use our personal account. So I'm going to walk you through, of course, the steps for the installation and the setup and configurations for every demonstration, including this one. So when we need to use Cutspaces. All right. So in order to be all set, I'm going to ask you to just go to the main page, and use either options that you'd like to download the exercise file, so you have the options to download them, or you have the options to copy this URL to then clone it with this HTTPS URL.

Contents