1
00:00:00,120 --> 00:00:00,520
Okay.

2
00:00:00,560 --> 00:00:04,160
If you're a mac person, then congratulations, you've come to the right place.

3
00:00:04,160 --> 00:00:06,680
If you're a PC user, then you don't belong here.

4
00:00:06,680 --> 00:00:09,640
You're meant to be on the next video when we get back together again.

5
00:00:10,040 --> 00:00:15,960
So Mac people, I just told the PC people that they are my my people because I used to work for IBM

6
00:00:16,000 --> 00:00:16,720
a while ago.

7
00:00:16,720 --> 00:00:17,720
But but it's not true.

8
00:00:17,880 --> 00:00:19,960
I'm a mac person through and through.

9
00:00:20,000 --> 00:00:20,360
I've.

10
00:00:20,400 --> 00:00:22,840
I've owned Mac since I was a teenager.

11
00:00:22,840 --> 00:00:25,440
All through my life I've owned so many Macs.

12
00:00:25,440 --> 00:00:28,360
I've been programming on them since I was, since I was yay high.

13
00:00:28,600 --> 00:00:29,720
Uh, so this is.

14
00:00:29,760 --> 00:00:31,200
You are my people for sure.

15
00:00:31,240 --> 00:00:32,200
Don't listen to what I said.

16
00:00:32,200 --> 00:00:32,880
The other guys.

17
00:00:33,600 --> 00:00:34,680
Uh, yeah.

18
00:00:34,720 --> 00:00:35,880
I have no loyalty.

19
00:00:36,040 --> 00:00:36,520
Uh, yeah.

20
00:00:36,560 --> 00:00:37,960
No Macs all the way.

21
00:00:38,000 --> 00:00:43,400
Okay, so first step in the setup instructions is to tell you to go to the repo.

22
00:00:43,400 --> 00:00:44,720
Go to GitHub.

23
00:00:48,280 --> 00:00:49,120
Engineering.

24
00:00:49,280 --> 00:00:51,000
This link is all over the place.

25
00:00:51,200 --> 00:00:56,240
I want to remind you again that the best setup instructions are written in the repo.

26
00:00:56,240 --> 00:00:58,120
Follow the link to the Mac instructions.

27
00:00:58,320 --> 00:01:00,920
That's where I go through things step by step.

28
00:01:00,920 --> 00:01:02,520
That's what you should really follow.

29
00:01:02,560 --> 00:01:08,240
Use this video to see how I do it, but be sure to follow the instructions at the top of the instructions.

30
00:01:08,240 --> 00:01:10,600
I've got a few things I call the gotchas.

31
00:01:10,640 --> 00:01:12,160
The things to watch out for.

32
00:01:12,200 --> 00:01:18,320
Stuff like making sure you've got the latest Mac tools installed so there's a few things to watch out

33
00:01:18,320 --> 00:01:18,720
for.

34
00:01:19,240 --> 00:01:21,360
So please do look at those gotchas as well.

35
00:01:21,360 --> 00:01:26,760
And there's there's common troubleshooting tips all the way through that should be your first port of

36
00:01:26,800 --> 00:01:28,800
call is to look at the docs.

37
00:01:29,160 --> 00:01:32,680
But now let's go through setting things up on the Mac.

38
00:01:32,960 --> 00:01:38,600
So the first thing we're going to be doing is talking about git and cloning the current repo.

39
00:01:38,800 --> 00:01:43,800
And if you're not sure about the difference between git and GitHub or you don't know what they are,

40
00:01:44,000 --> 00:01:45,280
then please do take a look.

41
00:01:45,280 --> 00:01:47,480
In the repo there's a folder called guides.

42
00:01:47,480 --> 00:01:48,520
Look within guides.

43
00:01:48,520 --> 00:01:50,640
I've got a guide I've written on what is git?

44
00:01:50,680 --> 00:01:51,680
What is GitHub?

45
00:01:51,720 --> 00:01:52,840
The difference between them.

46
00:01:52,880 --> 00:01:57,080
Be sure to look at that to get get your foundations on that okay.

47
00:01:57,120 --> 00:02:03,680
And then when you're done we're then going to open up a command prompt, a terminal and again instructions

48
00:02:03,680 --> 00:02:04,240
in the repo.

49
00:02:04,240 --> 00:02:09,720
But the way you do it is you go to your finder, you go to applications, you look in utilities and

50
00:02:09,720 --> 00:02:11,360
there's a utility called terminal.

51
00:02:11,360 --> 00:02:13,720
And you double click on that to launch a terminal.

52
00:02:13,720 --> 00:02:17,120
And here I've got one right here for us to work on.

53
00:02:17,360 --> 00:02:19,520
And uh, here we are.

54
00:02:19,840 --> 00:02:25,400
And the first thing that I'm going to do in this terminal is I'm going to type git minus minus version

55
00:02:25,400 --> 00:02:30,360
to find out if I have git installed and what version it is, and I do and there it is.

56
00:02:30,560 --> 00:02:36,200
And if you don't have git installed then when you run that it should prompt you to install it.

57
00:02:36,320 --> 00:02:42,440
Uh, so so follow those instructions or look in the readme so that you definitely have git installed

58
00:02:42,440 --> 00:02:43,400
at this point.

59
00:02:44,000 --> 00:02:49,080
Also, if you're new to the command line, if you're not familiar with using a terminal in this way,

60
00:02:49,080 --> 00:02:54,440
there's another guide on that to look in the guides folder in the repo, look at the guide on the command

61
00:02:54,440 --> 00:02:59,760
line and use this as an opportunity to build up some foundations, some confidence in things like files

62
00:02:59,760 --> 00:03:02,280
and directories moving between them, copying them.

63
00:03:02,400 --> 00:03:06,360
All the basics in a command line just so that you know the lay of the land.

64
00:03:06,360 --> 00:03:07,800
And then we'll get going.

65
00:03:07,840 --> 00:03:13,240
Okay, I'm going to start by typing CD, just to see that I'm in my home directory to find out what

66
00:03:13,240 --> 00:03:19,600
that directory is, I type PWD and it tells me that I'm currently in slash users slash Z.

67
00:03:19,800 --> 00:03:21,480
That's my home directory.

68
00:03:21,720 --> 00:03:29,080
You won't be in user ed unless your name is also ed in, which is high, but you'll be in user slash

69
00:03:29,120 --> 00:03:29,720
your name.

70
00:03:30,080 --> 00:03:36,920
So the next thing we're going to do is create a new directory called projects, where all of our projects

71
00:03:36,920 --> 00:03:37,320
belong.

72
00:03:37,320 --> 00:03:40,560
It's customary to have a directory that you call projects.

73
00:03:40,920 --> 00:03:45,480
You may already have one, in which case you'll be able to type CD projects and you'll go right there.

74
00:03:45,520 --> 00:03:48,720
You may not, in which case we'll need to create one, which is what we'll do now.

75
00:03:49,040 --> 00:03:52,360
And now you can of course use it in a different.

76
00:03:52,360 --> 00:03:55,680
You could have it within another directory like your documents directory.

77
00:03:55,960 --> 00:03:56,680
It's one thing.

78
00:03:56,680 --> 00:04:04,480
One little trap to watch out for is it's best not to have it in a directory that is part of your iCloud

79
00:04:04,480 --> 00:04:07,480
directories, like documents or desktop.

80
00:04:07,520 --> 00:04:10,360
Try and avoid having it on your desktop or in documents.

81
00:04:10,640 --> 00:04:15,200
There's various reasons for that, but one of them is that those those folders are replicated to Apple's

82
00:04:15,200 --> 00:04:19,120
iCloud, and that can cause various problems with repose and slow things down.

83
00:04:19,120 --> 00:04:23,360
And it's not necessary because your repo is already replicated to GitHub.

84
00:04:23,560 --> 00:04:27,240
So recommendation is just to have it in your home directory.

85
00:04:27,240 --> 00:04:32,200
So I'm going to type mkdir make a directory called projects.

86
00:04:32,600 --> 00:04:33,080
There we go.

87
00:04:33,120 --> 00:04:34,040
We've done it.

88
00:04:34,080 --> 00:04:37,360
Now I can CD projects I can go into it.

89
00:04:37,640 --> 00:04:40,040
And if I now do PWD where am I.

90
00:04:40,080 --> 00:04:44,560
I am in users add projects just where I want to be.

91
00:04:44,600 --> 00:04:48,000
Okay, so the next thing I'm going to do is go back to the repo again.

92
00:04:48,040 --> 00:04:48,920
Here it is.

93
00:04:49,360 --> 00:04:52,600
This is the LM engineering repo on github.com.

94
00:04:53,000 --> 00:04:55,810
And there's this green code button.

95
00:04:55,810 --> 00:05:01,170
And I press on this and I make sure that Https is selected like that.

96
00:05:01,170 --> 00:05:04,690
And I'm going to copy this URL to the clipboard.

97
00:05:04,690 --> 00:05:05,890
It says copied.

98
00:05:06,130 --> 00:05:06,890
All right.

99
00:05:06,890 --> 00:05:10,450
So I've now copied the link to this URL.

100
00:05:11,050 --> 00:05:15,090
Okay I now go back to the terminal window again.

101
00:05:15,090 --> 00:05:15,650
Here it is.

102
00:05:15,690 --> 00:05:20,290
And now I type the legendary command git clone.

103
00:05:20,650 --> 00:05:23,890
That means I want to take a copy of someone else's repo.

104
00:05:23,930 --> 00:05:29,330
Well, that's my repo and have it locally on my computer git clone.

105
00:05:29,330 --> 00:05:33,170
And then you paste that link that we just copied.

106
00:05:33,170 --> 00:05:34,370
So we're saying git clone.

107
00:05:34,370 --> 00:05:38,050
And then this remote repo called LM engineering.

108
00:05:38,050 --> 00:05:40,450
And when I press enter it will take a few seconds.

109
00:05:40,450 --> 00:05:49,210
But it's now copying down the entire repository I prove it, I type ls to list the contents of projects.

110
00:05:49,370 --> 00:05:50,210
And there we see.

111
00:05:50,250 --> 00:05:52,170
We have one thing in here.

112
00:05:52,650 --> 00:05:59,970
It's called LM engineering and I can do CD, LM engineering, and then I can do an LZ again.

113
00:05:59,970 --> 00:06:03,530
And there is the contents of LM engineering.

114
00:06:03,570 --> 00:06:04,450
The repo.

115
00:06:04,730 --> 00:06:06,010
It has been cloned.

116
00:06:06,010 --> 00:06:08,290
It is now local on my computer.

117
00:06:08,690 --> 00:06:09,650
So far so good.

118
00:06:09,850 --> 00:06:10,130
Okay.

119
00:06:10,170 --> 00:06:12,570
The next thing we're going to do is still in step one.

120
00:06:12,610 --> 00:06:13,770
Step one is quite a big step.

121
00:06:14,210 --> 00:06:16,970
Step one we're going to go back to the browser again.

122
00:06:17,170 --> 00:06:19,410
And now I want you to go to cursors.

123
00:06:20,170 --> 00:06:28,570
See you are so for this for this uh project we're going to be using cursor as our IDE as our development

124
00:06:28,570 --> 00:06:29,450
environment.

125
00:06:29,490 --> 00:06:31,730
Now you don't need to use cursor if you don't want to.

126
00:06:31,770 --> 00:06:34,090
Cursor is a fork of VSCode.

127
00:06:34,090 --> 00:06:37,330
And if you use VSCode, everything will look basically identical.

128
00:06:37,570 --> 00:06:39,530
And you could also use anything else.

129
00:06:39,530 --> 00:06:42,610
You could use windsurf, you could use PyCharm, whatever you want.

130
00:06:42,650 --> 00:06:43,490
It's all good.

131
00:06:43,690 --> 00:06:45,250
But I'm going to use cursor.

132
00:06:45,290 --> 00:06:45,850
It's nice.

133
00:06:45,850 --> 00:06:47,330
I like the AI features.

134
00:06:47,730 --> 00:06:52,570
Uh, you have to pay for the AI features, but you get two weeks free trial, at least as of today if

135
00:06:52,570 --> 00:06:53,370
you're new to it.

136
00:06:53,370 --> 00:06:56,490
Otherwise it's a it's a paid plan, but you don't need to pay it.

137
00:06:56,530 --> 00:07:01,850
If you don't pay it, you just don't get the the cool AI autocomplete with frontier models, but it's

138
00:07:01,890 --> 00:07:02,970
completely up to you.

139
00:07:03,130 --> 00:07:06,250
Um, there's a download button here, download for Mac OS.

140
00:07:06,290 --> 00:07:07,610
I can press that button.

141
00:07:07,610 --> 00:07:12,170
It will then download it in the usual way, and then I can open it, I can launch it.

142
00:07:12,170 --> 00:07:17,170
And there will then be an installation process when I have to answer a few questions, set up an account,

143
00:07:17,210 --> 00:07:23,690
select what I want and you should just pick all the defaults, get it all set up, uh, and uh subscribe

144
00:07:23,730 --> 00:07:23,930
to it.

145
00:07:23,970 --> 00:07:25,530
Use the free trial of course.

146
00:07:25,770 --> 00:07:31,610
Uh, and then get things going so you can then launch cursor and be ready to go.

147
00:07:31,810 --> 00:07:37,730
And once you've installed cursor, you can launch it either from your applications folder in your finder

148
00:07:37,730 --> 00:07:41,170
window, or it might be an icon on your desktop.

149
00:07:41,370 --> 00:07:44,570
Uh, or it might be in your system, uh, tray.

150
00:07:44,770 --> 00:07:48,650
But you can then launch it and it should open and it should look like this.

151
00:07:48,810 --> 00:07:51,250
This is a sort of new start screen.

152
00:07:51,250 --> 00:07:56,050
And if it doesn't look like this, even after you've answered any first time questions, then there's

153
00:07:56,090 --> 00:07:57,370
a file menu.

154
00:07:57,410 --> 00:08:02,730
Go to the file menu and choose New Window and this should come up just like this.

155
00:08:02,770 --> 00:08:03,930
You won't have this stuff here.

156
00:08:03,930 --> 00:08:05,810
You'll just have these buttons I imagine.

157
00:08:06,090 --> 00:08:09,410
And the first thing we're going to do is open a project.

158
00:08:09,650 --> 00:08:17,130
So a project in cursor refers to the top level folder known as the project root, which contains all

159
00:08:17,130 --> 00:08:18,050
of your code.

160
00:08:18,050 --> 00:08:21,770
In our case, it's LM engineering, the thing we just cloned.

161
00:08:21,770 --> 00:08:25,050
And that's what we're going to open as our project right now.

162
00:08:25,090 --> 00:08:25,410
Okay.

163
00:08:25,450 --> 00:08:27,850
So I come in here I click Open Project.

164
00:08:28,050 --> 00:08:29,650
I'm now in editor.

165
00:08:29,650 --> 00:08:34,450
So within editor I go into projects and here's LM engineering.

166
00:08:34,450 --> 00:08:35,970
And now this is a bit fiddly.

167
00:08:36,010 --> 00:08:37,890
You double click on LM engineering.

168
00:08:37,890 --> 00:08:41,250
So we're now looking at the contents of LM engineering.

169
00:08:41,250 --> 00:08:43,210
And now you press open.

170
00:08:43,450 --> 00:08:46,170
It's saying that's the folder that is our folder.

171
00:08:46,170 --> 00:08:48,850
And this pops up and this is everything.

172
00:08:48,850 --> 00:08:49,210
This is.

173
00:08:49,210 --> 00:08:51,770
This is the beginning of all of our stuff together.

174
00:08:52,090 --> 00:08:56,010
So the thing you want to look for, you want to check that you see the different weeks appearing here

175
00:08:56,010 --> 00:08:58,050
as folders, weeks one to week eight.

176
00:08:58,330 --> 00:09:00,890
And you also want to check that in block capitals.

177
00:09:00,890 --> 00:09:04,210
On the top left is LM engineering.

178
00:09:04,210 --> 00:09:07,850
That's telling you that that we have opened the right folder.

179
00:09:07,970 --> 00:09:10,610
If you've got this chat thing over here you can get rid of this.

180
00:09:10,610 --> 00:09:11,810
This is the AI chat.

181
00:09:11,850 --> 00:09:14,370
One way to get rid of it is just to drag that over like that.

182
00:09:14,370 --> 00:09:16,810
But but this is the screen that I like to see.

183
00:09:16,810 --> 00:09:17,850
So here we are.

184
00:09:17,890 --> 00:09:21,650
We've opened the LM project in cursor.

185
00:09:21,850 --> 00:09:26,410
And that completes step one of our five step instructions.

186
00:09:26,650 --> 00:09:32,610
And now we have good news that the remaining steps are steps that we can do with our PC colleagues.

187
00:09:32,610 --> 00:09:36,050
At the same time, we can do them together because it's going to be identical.

188
00:09:36,050 --> 00:09:40,690
So I will now at this point say congratulations on step one complete.

189
00:09:40,690 --> 00:09:46,730
I will see you in the next video with everyone back together again for step two through step five.

190
00:09:46,770 --> 00:09:47,490
See you then.