In this video, learn about importing code to GitHub.
- [Instructor] In this chapter we're going to be setting up continuous integration and deployment pipelines. But before we can do any of that, we have to check our code into some repository. Now we're going to be using Visual Studio Team Services for our pipelines for integration deployment. But just to show you how powerful it is, we're going to use GitHub as our Git Repository, even though Visual Studio Team Services comes with its own. You can use either one, but just for the sake of this demonstration we're going to use GitHub. So the first thing to do, is once I've created my GitHub account and logged in, which you can do freely, I'm going to start a new repository.
I'm going to call this one angular-azure. My angular-azure course. Now I could make that a public repository, I don't have to pay anything for it. And I don't want to initialize this with anything. I want it to be empty. So I'm just going to go ahead and create this repository. And actually provide you with some instructions on how to add an existing project to GitHub. So let's do that right now. I'm going to first create a Git Repository, so I'm in the folder of my project.
I'm going to type git init, and then I'm going to add my source. And then I'm going to commit with a message, git commit -m "Initial checkin". Now I check my code IT. Now I want to set the remote, repository for my code, so I'm going to add origin https://github.com/iamsap, it'll be your URL, whatever you see on this page, and I'm going to go ahead and push my code to the origin.
And I'm going to log in with my user name. You'll log in with yours. My super secret password, code is pushed. Now if I refresh this page, great. My codes all been checked in and is ready to set up in Visual Studio Team Services.
At the end of the course, you'll have skills to connect the popular Angular framework to key services in Microsoft ecosystem.
- Creating and configuring the Angular project
- Securing login
- Working with GitHub and Visual Studio Team Services
- Building APIs in .NET Core
- Securing .NET APIs
- Testing with Postman
- Building a .NET proxy from start to finish