Okay.
And once our application is production ready, now we want to push it up to GitHub because the way our
deployment is going to work, once we have the repo on GitHub, we'll set up the account and render
and then from there the render basically is going to access our application on the GitHub and deploy
it.
So let's start by creating a new repo.
In my case, I'm going to go with turn.
Course job.
If I let's say production here, production, let's create the repo.
I'm looking for these three commands here.
So these are the ones that I want to copy and paste.
But before we go any further, let's just make sure that there are no existing git repositories and
I'm talking about the server as well as the client.
And this is extremely, extremely important.
Please keep in mind that our server depends on a client.
And quite often what I see in the course.
Students share their project.
But the client folder is not there.
Why?
It's not there because it's a separate get repo.
And once we push this up to GitHub, it's not going to be included.
So it's extremely important if you're not going to have the client.
Then the whole production setup goes bananas.
Therefore, navigate to the client first and remove existing gate repo.
So let me do that.
So I'm going to go with the CD client and then we want to go with.
R rf and get.
That's the command on a mac.
Then let's go back to the server.
We want to do the same thing our M.
RF and get.
So now both of them, the client and the server, don't have the existing get.
Folder.
So now we can create a new one.
We will create that in a root, so both will be included the server as well as the client.
So let me clear everything.
I'm going to go get in it, get add and then get commit and.
It's going to go with the first comment.
Then we want to copy those commands again.
They should be already in my clipboard, but hey, why not?
Clear copy and paste.
And if everything is correct, we should see all the files apart from, of course, data.
And we we only have the temp one and we should see the client as well.
And if that's the case now, we can move on to the next task, which is setting up a render account.