1 00:00:00,180 --> 00:00:02,220 Hello and welcome to this video. 2 00:00:02,400 --> 00:00:08,880 In this video, I will be installing a light server, a light server. 3 00:00:08,910 --> 00:00:19,320 Is he TTP development web server that you can use to serve pWt pages? 4 00:00:19,680 --> 00:00:28,920 I'm going to be installing this as a package using and p.m. to install the light server. 5 00:00:28,980 --> 00:00:37,860 You typing npm space install space light dash server space dash, dash, save dash dev. 6 00:00:38,520 --> 00:00:46,170 The Dash Dash saved up Dev means you are saving it as a development dependency. 7 00:00:46,380 --> 00:00:52,080 Make sure you are installing the package inside your project directory. 8 00:00:52,090 --> 00:00:56,010 You can see I have navigated to my project directory here. 9 00:00:56,490 --> 00:01:03,300 That's where I've issued the npm command to install the light server. 10 00:01:03,630 --> 00:01:11,070 So once you've typed in the command, just press enter on your keyboard and that will begin to fetch 11 00:01:11,460 --> 00:01:13,860 and then install the package. 12 00:01:13,860 --> 00:01:18,440 So give it a few minutes to look for the package and then install it. 13 00:01:18,480 --> 00:01:28,110 Progressive web applications have to be served over a secure TWRP connection, as I'm using this light 14 00:01:28,110 --> 00:01:31,470 server as the hasty FTP server. 15 00:01:31,770 --> 00:01:40,330 The likes of is going to be responsible for serving all the files we need for our application. 16 00:01:40,350 --> 00:01:49,020 If you open up your code editor, you would notice you have a new folder called Note on this call modules. 17 00:01:49,560 --> 00:01:57,650 And this is the result of the package we just installed, which is the light server. 18 00:01:57,660 --> 00:02:07,410 So any further packages we install for the project will be handled by this folder called node underscore 19 00:02:07,440 --> 00:02:08,160 modules. 20 00:02:08,460 --> 00:02:17,100 Also, if we open up the package thought JSON file here, which you see an entry on that development 21 00:02:17,100 --> 00:02:19,980 dependencies for the light server. 22 00:02:20,370 --> 00:02:21,570 So this is a life saver. 23 00:02:21,570 --> 00:02:26,870 We just installed and we installed it as a development dependency. 24 00:02:26,880 --> 00:02:32,880 So that is it for this video in this video, install a light server. 25 00:02:33,450 --> 00:02:34,500 Thanks for watching.