Now we have a static website and ideally we want to deployed somewhere and for the next example, we'll
be using search in order to deploy our website.
Now you're wondering what is surge?
A surge is a cloud platform for serverless deployment.
And your case, you haven't heard the name Serverless before.
More or less means that you are not taking care of the server where your application is running.
So you are just seeing how this for me, but you have no control on exactly how is this being posted.
You don't have to worry about software or anything like that.
And we're using it because it is really easy to use and configure, and it offers us a very simple deployment
process that we will eventually implement and catalepsy.
And it's ideal for small static websites just as ours.
So in order to get started, we have to do a couple of steps, we already have Noad installed and that
is a requirement.
And additionally, you have to install surge as well using NPM.
So I'm going to copy this command and open a terminal and run it.
So NPM install Dasht as global search.
OK, this only took a few seconds to install.
And now let's type in search.
So I will type my email.
And my password.
And this is how we create an account with surge, and this is the same procedure you use for logging
as well now, because inside a public folder, which I recommend you do, it searches already detecting
this path and linking it to the public further.
So I don't have to make any changes here.
I'm just going to hit enter.
My name, this is something that Serj generates automatically, and I think it's definitely fine to
just live for now whatever domain search has selected for you, you will be able to change that later.
And our search is starting to deploy the website and it says Success, it has published the entire website
to this address.
So believe it or not, in just a few seconds, we have managed to deploy our application using search
somewhere in the cloud, and now we have this address where we can call it.