Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,300 --> 00:00:06,510
Before we begin, I'd just like to point out something that will help you get the most out of this course.
2
00:00:07,920 --> 00:00:15,180
Personally, I think the best way to learn is to code along as we build our e-commerce platform, but
3
00:00:15,180 --> 00:00:21,270
I know there are some learners that just like to watch and listen and then maybe look at the code themselves
4
00:00:21,270 --> 00:00:21,680
later.
5
00:00:22,350 --> 00:00:23,510
That's perfectly fine.
6
00:00:23,940 --> 00:00:28,400
I've set up this course so that both these type of learners can get the most out of it.
7
00:00:29,470 --> 00:00:33,340
If you go to my GitHub and navigate to my.
8
00:00:34,420 --> 00:00:43,300
GitHub account, so you go GitHub dot com slash saying m iwa, if you check the repositories, you will
9
00:00:43,300 --> 00:00:51,280
see a bunch of them that say lesson one lesson to lesson three all the way up to twenty seven.
10
00:00:52,600 --> 00:01:00,310
Now, in each of these repositories is going to actually be the code that we finish writing at the end
11
00:01:00,310 --> 00:01:05,170
of every lesson related to building our e-commerce platform.
12
00:01:06,100 --> 00:01:14,230
So if you get lost, you can always just follow the link that I will provide in that lesson to one of
13
00:01:14,260 --> 00:01:16,930
these repos and get the code from there.
14
00:01:17,650 --> 00:01:20,380
I'm going to show you very quickly how that would work.
15
00:01:20,950 --> 00:01:25,690
So let's say we finish lesson one and we start talking about lesson two.
16
00:01:25,900 --> 00:01:30,610
And you want the code or let's say lesson three and you want the code related to lesson three.
17
00:01:31,180 --> 00:01:35,320
You would go to the repo and you would hit this button clone or download.
18
00:01:36,880 --> 00:01:43,420
From here, we go into our terminal and I'm going to teach you a little bit of get here, so we go get
19
00:01:43,420 --> 00:01:51,550
Klown and then we put down the link that we just copied, and then we can put our own name of our folder
20
00:01:51,550 --> 00:01:53,470
for where we want this to be stored.
21
00:01:53,500 --> 00:01:57,770
Or we can just let get to it and it'll just name it, whatever the name of the repo would.
22
00:01:57,910 --> 00:01:59,080
So it would be less than three.
23
00:01:59,650 --> 00:02:03,640
So let's just call it cloned repo.
24
00:02:05,700 --> 00:02:13,680
So get will clone that project into this folder now called Cloned Ripa, and inside will be all of the
25
00:02:13,680 --> 00:02:17,610
code related to what we just pulled down.
26
00:02:21,350 --> 00:02:28,970
If you want it to continue from this package and you want to save your progress in your own repository,
27
00:02:29,390 --> 00:02:32,120
what you have to do is actually change the remote.
28
00:02:32,120 --> 00:02:37,660
So if we if we type in, get remote, we'll see that there's actually an origin already here.
29
00:02:37,760 --> 00:02:38,100
Right.
30
00:02:38,120 --> 00:02:43,160
And this is pretty much just the name of another repo that this is attached to.
31
00:02:43,160 --> 00:02:47,530
And that repo is my repo, the one that you just pulled this code from.
32
00:02:48,170 --> 00:02:53,450
But because you cannot push to my repo, because I don't want that code changing, because I want all
33
00:02:53,450 --> 00:02:58,640
the students to be able to benefit from the code that is already there, what you're going to do is
34
00:02:58,640 --> 00:03:02,530
you're going to remove this remote.
35
00:03:02,600 --> 00:03:06,350
So you're going to type, get remote, remove and then origin.
36
00:03:07,010 --> 00:03:07,370
Right.
37
00:03:07,700 --> 00:03:10,240
And now you won't have an origin in your remote.
38
00:03:10,670 --> 00:03:11,970
So you're going to add your own.
39
00:03:12,380 --> 00:03:19,010
And first, what you have to do is create a new repository and you can call yours whatever you want.
40
00:03:19,010 --> 00:03:22,490
Let's say you call it Clowned Repo, just for an example.
41
00:03:24,690 --> 00:03:28,800
When you create this repo, you can take this SSL key here.
42
00:03:29,780 --> 00:03:40,370
And then you can do get remote, add origin, and then you would just put in your SHC that you just
43
00:03:40,370 --> 00:03:48,170
copy it hit enter and now you can push to your repo anything on this code and you can also pull.
44
00:03:49,120 --> 00:03:57,190
So what this remote is, is essentially it's just a pointer to some repository that is not on your local
45
00:03:57,190 --> 00:03:57,730
device.
46
00:03:57,910 --> 00:03:58,290
Right.
47
00:03:58,660 --> 00:04:04,930
And you want to call it origin, because if you use any shorthands like push or pull.
48
00:04:05,970 --> 00:04:11,850
In case you're using something like Seashell, which adds that for you, what it will do is it is essentially
49
00:04:11,850 --> 00:04:16,110
an alias for push origin master or get pull origin master.
50
00:04:16,380 --> 00:04:18,240
So naming an origin is just easier for us.
51
00:04:18,600 --> 00:04:25,710
And now if you push, you'll be able to push all the code that you just pulled in from my repo into
52
00:04:25,710 --> 00:04:26,530
your own repo.
53
00:04:26,730 --> 00:04:27,810
So if we refresh.
54
00:04:28,910 --> 00:04:31,130
We should see our code and there at all is.
55
00:04:32,130 --> 00:04:39,570
Now, always remember to also run yarn or NPM install so that you download all of the packages related
56
00:04:39,570 --> 00:04:40,530
to your project.
57
00:04:41,890 --> 00:04:47,470
And now that you know what to do, let's get started with building our final application.
5746
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.