Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,540 --> 00:00:01,650
In this video.
2
00:00:01,650 --> 00:00:06,990
What we're going to do is create our very first Linux application.
3
00:00:07,410 --> 00:00:14,430
Now, this is going to be very, very simple, especially now that we have installed Node on our machine,
4
00:00:14,850 --> 00:00:21,600
because all we need to do now is open up our terminal, which I have open right over here or your command
5
00:00:21,600 --> 00:00:23,580
prompt if you're on a Windows machine.
6
00:00:23,880 --> 00:00:29,850
And very simply, move into the directory where you want your Knox application to live.
7
00:00:30,240 --> 00:00:33,750
So what I'm going to do is I'm going to move into my desktop directory.
8
00:00:34,110 --> 00:00:38,880
I'm going to move into my Udemy directory and I want to move into my Linux directory.
9
00:00:39,690 --> 00:00:45,330
And then right over here, I'm a dock ls and I'm going to move into my content directory because that's
10
00:00:45,330 --> 00:00:47,190
where I want my project to live.
11
00:00:47,490 --> 00:00:50,700
Of course, you guys probably are not going to have all these directories.
12
00:00:50,910 --> 00:00:54,690
You can either put it in your desktop or whatever directory that you want.
13
00:00:55,080 --> 00:01:02,400
Now in here, we're going to execute a very simple command in order to create a barebones Knox application.
14
00:01:02,700 --> 00:01:09,180
We're going to do NPC's, which we are going to get if we installed Node and then Knox C, this is the
15
00:01:09,180 --> 00:01:10,710
Knox CLIA.
16
00:01:10,950 --> 00:01:15,770
And then over here we're going to initialize what we want to do is initialize in new app.
17
00:01:15,780 --> 00:01:21,900
So we're going to say MP X Knox C init and then we're going to give our application a name.
18
00:01:22,170 --> 00:01:26,550
I'm going to call this o one baby name generator.
19
00:01:26,820 --> 00:01:31,320
The reason why I'm calling it a one is because we're going to have multiple projects and I just want
20
00:01:31,320 --> 00:01:32,040
to organize that.
21
00:01:32,040 --> 00:01:34,260
This is the very first project.
22
00:01:34,560 --> 00:01:37,080
So baby name generator.
23
00:01:37,530 --> 00:01:41,340
So I'm going to go ahead and go ahead and execute that.
24
00:01:41,520 --> 00:01:43,350
And right away, if I do an L.
25
00:01:43,350 --> 00:01:46,680
S, you can see that this has been created.
26
00:01:46,680 --> 00:01:49,050
So this new Knox project has been created.
27
00:01:49,470 --> 00:01:53,160
So what I'm going to do now is I'm going to open up an instance of this code.
28
00:01:53,380 --> 00:01:58,860
Let's go ahead and open that up and let's open up that project that we just created.
29
00:01:58,860 --> 00:02:04,980
So I'm going to go to desktop and then I'm going to go to where was it due to me and then Knox and then
30
00:02:04,980 --> 00:02:05,760
contents.
31
00:02:05,760 --> 00:02:10,910
I'm going to go ahead and open that up and there we go.
32
00:02:10,920 --> 00:02:15,090
So this is our barebones Knox application.
33
00:02:15,090 --> 00:02:16,410
Let me just zoom in once more.
34
00:02:16,440 --> 00:02:17,330
Zoom out here.
35
00:02:17,340 --> 00:02:18,240
Zoom out here.
36
00:02:18,240 --> 00:02:19,290
I think that should be good.
37
00:02:19,800 --> 00:02:23,100
So we get this barebones Knox application.
38
00:02:23,340 --> 00:02:28,890
Now, if you're familiar with Node, well, you can go to the package store, Jason, and actually look
39
00:02:28,890 --> 00:02:31,140
at all of the different dependencies.
40
00:02:31,590 --> 00:02:39,140
The dependency that this needs is Knox three and all dependencies inside of your node application actually
41
00:02:39,150 --> 00:02:42,450
live in something called the node modules.
42
00:02:42,690 --> 00:02:48,570
Now, right now inside of this barebones application, this doesn't exist at the moment.
43
00:02:48,840 --> 00:02:56,310
So what we need to do is go to our integrated terminal over here and just very simply do an AMPM install
44
00:02:56,520 --> 00:03:02,430
in order to install all of the dependencies, which is just basically this right over here.
45
00:03:02,730 --> 00:03:09,810
Now as that goes on, we should see our node modules and then we should be able to start up our application.
46
00:03:10,110 --> 00:03:14,370
Now, this might take take some time, so I'll see you guys in the next video.
4658
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.