1
00:00:00,300 --> 00:00:00,800
Okay.

2
00:00:00,810 --> 00:00:09,870
And once our application is production ready, now we want to push it up to GitHub because the way our

3
00:00:09,870 --> 00:00:17,850
deployment is going to work, once we have the repo on GitHub, we'll set up the account and render

4
00:00:17,850 --> 00:00:26,730
and then from there the render basically is going to access our application on the GitHub and deploy

5
00:00:26,730 --> 00:00:27,030
it.

6
00:00:27,420 --> 00:00:29,790
So let's start by creating a new repo.

7
00:00:30,210 --> 00:00:33,120
In my case, I'm going to go with turn.

8
00:00:33,860 --> 00:00:35,360
Course job.

9
00:00:35,360 --> 00:00:40,940
If I let's say production here, production, let's create the repo.

10
00:00:41,800 --> 00:00:46,120
I'm looking for these three commands here.

11
00:00:46,120 --> 00:00:49,410
So these are the ones that I want to copy and paste.

12
00:00:49,420 --> 00:00:58,690
But before we go any further, let's just make sure that there are no existing git repositories and

13
00:00:58,690 --> 00:01:02,950
I'm talking about the server as well as the client.

14
00:01:03,130 --> 00:01:05,550
And this is extremely, extremely important.

15
00:01:05,560 --> 00:01:10,180
Please keep in mind that our server depends on a client.

16
00:01:11,050 --> 00:01:13,450
And quite often what I see in the course.

17
00:01:14,980 --> 00:01:16,930
Students share their project.

18
00:01:17,610 --> 00:01:20,010
But the client folder is not there.

19
00:01:20,010 --> 00:01:20,310
Why?

20
00:01:20,310 --> 00:01:22,560
It's not there because it's a separate get repo.

21
00:01:23,340 --> 00:01:27,060
And once we push this up to GitHub, it's not going to be included.

22
00:01:27,210 --> 00:01:30,630
So it's extremely important if you're not going to have the client.

23
00:01:31,500 --> 00:01:35,370
Then the whole production setup goes bananas.

24
00:01:35,730 --> 00:01:40,280
Therefore, navigate to the client first and remove existing gate repo.

25
00:01:40,530 --> 00:01:41,670
So let me do that.

26
00:01:41,670 --> 00:01:46,560
So I'm going to go with the CD client and then we want to go with.

27
00:01:47,610 --> 00:01:50,680
R rf and get.

28
00:01:50,690 --> 00:01:52,610
That's the command on a mac.

29
00:01:53,090 --> 00:01:56,720
Then let's go back to the server.

30
00:01:57,020 --> 00:01:59,180
We want to do the same thing our M.

31
00:01:59,840 --> 00:02:01,640
RF and get.

32
00:02:01,850 --> 00:02:09,050
So now both of them, the client and the server, don't have the existing get.

33
00:02:10,030 --> 00:02:10,650
Folder.

34
00:02:10,660 --> 00:02:12,250
So now we can create a new one.

35
00:02:12,250 --> 00:02:18,070
We will create that in a root, so both will be included the server as well as the client.

36
00:02:18,070 --> 00:02:19,390
So let me clear everything.

37
00:02:19,390 --> 00:02:25,540
I'm going to go get in it, get add and then get commit and.

38
00:02:26,350 --> 00:02:29,230
It's going to go with the first comment.

39
00:02:29,620 --> 00:02:32,980
Then we want to copy those commands again.

40
00:02:33,070 --> 00:02:36,760
They should be already in my clipboard, but hey, why not?

41
00:02:37,420 --> 00:02:39,490
Clear copy and paste.

42
00:02:40,060 --> 00:02:46,900
And if everything is correct, we should see all the files apart from, of course, data.

43
00:02:46,900 --> 00:02:52,210
And we we only have the temp one and we should see the client as well.

44
00:02:52,570 --> 00:03:02,010
And if that's the case now, we can move on to the next task, which is setting up a render account.

