1
00:00:01,940 --> 00:00:08,840
Now we have a static website and ideally we want to deployed somewhere and for the next example, we'll

2
00:00:08,840 --> 00:00:12,080
be using search in order to deploy our website.

3
00:00:13,340 --> 00:00:15,470
Now you're wondering what is surge?

4
00:00:16,280 --> 00:00:19,490
A surge is a cloud platform for serverless deployment.

5
00:00:19,490 --> 00:00:22,010
And your case, you haven't heard the name Serverless before.

6
00:00:22,620 --> 00:00:28,160
More or less means that you are not taking care of the server where your application is running.

7
00:00:28,160 --> 00:00:34,490
So you are just seeing how this for me, but you have no control on exactly how is this being posted.

8
00:00:34,520 --> 00:00:37,130
You don't have to worry about software or anything like that.

9
00:00:38,320 --> 00:00:46,750
And we're using it because it is really easy to use and configure, and it offers us a very simple deployment

10
00:00:46,750 --> 00:00:49,900
process that we will eventually implement and catalepsy.

11
00:00:50,500 --> 00:00:54,700
And it's ideal for small static websites just as ours.

12
00:00:59,490 --> 00:01:04,800
So in order to get started, we have to do a couple of steps, we already have Noad installed and that

13
00:01:04,800 --> 00:01:05,610
is a requirement.

14
00:01:05,970 --> 00:01:10,130
And additionally, you have to install surge as well using NPM.

15
00:01:10,650 --> 00:01:13,740
So I'm going to copy this command and open a terminal and run it.

16
00:01:15,980 --> 00:01:18,770
So NPM install Dasht as global search.

17
00:01:23,020 --> 00:01:25,720
OK, this only took a few seconds to install.

18
00:01:27,740 --> 00:01:29,690
And now let's type in search.

19
00:01:33,830 --> 00:01:35,270
So I will type my email.

20
00:01:39,390 --> 00:01:40,410
And my password.

21
00:01:48,210 --> 00:01:55,650
And this is how we create an account with surge, and this is the same procedure you use for logging

22
00:01:55,650 --> 00:02:03,180
as well now, because inside a public folder, which I recommend you do, it searches already detecting

23
00:02:03,180 --> 00:02:06,010
this path and linking it to the public further.

24
00:02:06,040 --> 00:02:07,800
So I don't have to make any changes here.

25
00:02:08,340 --> 00:02:09,780
I'm just going to hit enter.

26
00:02:12,070 --> 00:02:18,190
My name, this is something that Serj generates automatically, and I think it's definitely fine to

27
00:02:18,190 --> 00:02:23,860
just live for now whatever domain search has selected for you, you will be able to change that later.

28
00:02:27,280 --> 00:02:35,080
And our search is starting to deploy the website and it says Success, it has published the entire website

29
00:02:35,200 --> 00:02:36,130
to this address.

30
00:02:38,630 --> 00:02:44,840
So believe it or not, in just a few seconds, we have managed to deploy our application using search

31
00:02:44,840 --> 00:02:48,380
somewhere in the cloud, and now we have this address where we can call it.

