WEBVTT

00:00.160 --> 00:00.760
Welcome!

00:00.800 --> 00:05.720
In this quick tutorial, I'm going to show you how to install anything locally on your own machine.

00:05.720 --> 00:07.000
If you are using windows.

00:07.160 --> 00:10.200
If you are on a MacBook, please skip to the next tutorial.

00:10.200 --> 00:16.920
In the previous lesson, I showed you how to self-host n810 on your own virtual private server.

00:17.760 --> 00:23.240
That setup is ideal if you want your automations running 24 over seven with access from anywhere and

00:23.240 --> 00:25.560
still working even when your computer is off.

00:26.040 --> 00:32.280
It also gives you more control over resources, so your local machine's power does not limit you, and

00:32.280 --> 00:38.240
it's stable, flexible, and a great option if you build serious workflows or offer it as a service.

00:38.760 --> 00:45.480
But maybe you just want to experiment with n810 or test things locally without testing up a full server.

00:45.920 --> 00:48.720
So it's super practical if you are just getting started.

00:48.920 --> 00:52.520
Want to learn the platform or build workflows offline?

00:53.200 --> 00:57.760
So in this video I will show you how to install N810 locally on your own machine.

00:57.760 --> 01:01.960
It's a great option because you can use N810 completely for free under the license.

01:02.200 --> 01:06.940
And we'll be using NodeJS which makes the process super simple.

01:09.540 --> 01:10.420
So let's jump in.

01:10.460 --> 01:14.980
So first thing first Google and GitHub.

01:18.340 --> 01:19.380
Is the first link.

01:19.380 --> 01:22.980
So for code workflow automation platform click on it.

01:24.540 --> 01:27.540
As you can see the code is publicly available for free.

01:28.220 --> 01:34.260
It has a lot of stars which means N810 has big and strong community and a lot of people are using it.

01:34.260 --> 01:37.820
So a lot of no code builders and developers love it.

01:37.820 --> 01:40.220
So once you are on the page, scroll down.

01:44.820 --> 01:51.860
You can read the documentation if you want to, but we are looking for a quick start so you can see

01:51.860 --> 01:55.500
you can try instant NGP which requires NodeJS.

01:56.420 --> 02:02.140
Or if you know how to use Docker, you can install N810 using Docker, which is a little bit more technical.

02:03.260 --> 02:05.740
But in this video we are going to use NodeJS.

02:06.140 --> 02:07.060
So just click on it.

02:09.510 --> 02:09.670
Now.

02:09.670 --> 02:15.430
As you can see, NodeJS is used to run JavaScript everywhere, so it's free and open source cross-platform

02:15.430 --> 02:21.590
JavaScript runtime environment that lets developers create serverless web apps, command line tools

02:21.590 --> 02:24.150
and scripts to just download NodeJS.

02:26.990 --> 02:28.670
It takes just a minute.

02:29.150 --> 02:32.310
Now simply click on the file to start the installation process.

02:35.750 --> 02:36.510
Click next.

02:38.630 --> 02:40.510
Accept the terms in the license agreement.

02:41.510 --> 02:42.150
Next.

02:43.670 --> 02:44.430
Next.

02:47.190 --> 02:47.910
Next.

02:49.950 --> 02:51.910
Automatically install the necessary tools.

02:52.350 --> 02:52.950
Next.

02:53.230 --> 02:53.830
Install.

02:58.390 --> 02:59.030
Confirm.

03:06.430 --> 03:08.910
Let's wait for the installation process to be completed.

03:14.050 --> 03:15.130
Now click on finish.

03:18.010 --> 03:21.250
Now the terminal should pop up so you can install anything.

03:21.970 --> 03:24.170
Now this step is optional but can be useful.

03:24.490 --> 03:30.330
So if you want to manage different versions of NodeJS, maybe you want to downgrade or switch versions.

03:30.330 --> 03:33.330
You can install a tool called npm for windows.

03:33.890 --> 03:35.730
So as I said this is not necessary.

03:35.850 --> 03:38.530
But you can google npm for windows.

03:38.570 --> 03:39.610
Open the first link.

03:42.970 --> 03:45.010
And scroll down to the last section.

03:48.050 --> 03:48.650
Right here.

03:48.770 --> 03:51.450
Just click on it right now.

03:55.410 --> 03:56.490
And look for the.

03:58.690 --> 04:00.930
NVM set Update.zip.

04:03.530 --> 04:04.450
So download it.

04:08.010 --> 04:11.130
You can unzip the folder and just run the installer.

04:12.130 --> 04:18.540
So this lets you easily switch between different node versions later, which can help you if something

04:18.540 --> 04:21.540
is not working with the latest version.

04:22.300 --> 04:27.540
Now when we visit the NodeJS website, you will notice there are quite a few versions to choose from.

04:27.980 --> 04:31.300
So in the download section you can see all the versions right here.

04:32.940 --> 04:36.020
So most of the time the latest version works perfectly fine.

04:36.420 --> 04:44.020
But once in a while a new release may cause some issues with certain tools, including ten.

04:44.060 --> 04:49.540
So if you ever run into problems, it might help to switch to an older version of node.

04:50.420 --> 04:52.180
So not the current one, the older one.

04:53.660 --> 04:59.180
So if you have already installed the NVM for windows, you can easily switch between versions with a

04:59.180 --> 05:03.700
simple command so you don't need to uninstall or reinstall anything manually.

05:04.580 --> 05:09.420
So yeah, it's not required, but definitely useful if you want to have that extra flexibility.

05:10.140 --> 05:10.380
Right.

05:10.660 --> 05:11.340
Let's move on.

05:11.500 --> 05:18.100
Once you install the NodeJS just simply go to the search bar and search for NodeJS.

05:18.100 --> 05:18.200
Node.js.

05:20.280 --> 05:21.680
Node.js command prompt.

05:23.600 --> 05:26.680
Don't worry, you just need to enter a few simple commands.

05:27.120 --> 05:30.280
So here we need to run the command to install N810.

05:30.960 --> 05:36.360
So let's type npm install.

05:42.480 --> 05:46.440
Dash g and then enter.

05:49.880 --> 05:52.480
So it will start downloading everything it needs.

05:53.520 --> 05:57.000
This usually takes a couple of minutes depending on your internet.

06:01.840 --> 06:03.360
And you only need to do this once.

06:06.000 --> 06:08.400
And then you can run n810 anytime from the terminal.

08:33.000 --> 08:33.400
Now.

08:33.400 --> 08:36.880
As soon as the packages are installed successfully, it will look like this.

08:37.840 --> 08:39.440
So now you can close this window.

08:41.720 --> 08:42.680
And reopen it.

08:44.120 --> 08:45.880
So open Node.js command prompt again.

08:48.440 --> 08:53.760
And now in the terminal we need to type n and press enter.

08:54.640 --> 08:58.160
And in about a minute or two and then restart running on your local machine.

09:06.720 --> 09:10.680
Now once this command is executed you will see a local URL.

09:11.640 --> 09:15.040
So just copy it and paste it to your browser.

09:16.480 --> 09:17.200
Hit enter.

09:22.200 --> 09:24.360
And you will land on this sign up page.

09:24.400 --> 09:30.360
So just fill in your email, first name, last name and password to create your local account.

09:31.160 --> 09:32.660
And once you are in, you will see say that.

09:33.180 --> 09:33.900
Interface.

09:34.020 --> 09:39.820
Now when you shut down the NodeJS terminal, you will lose access to an instance.

09:39.820 --> 09:47.740
So every time you want to start your local instance, you need to go to Node.js command prompt terminal.

09:50.300 --> 09:52.900
Type and then press enter.

09:55.740 --> 09:56.820
Wait a few seconds.

10:12.900 --> 10:14.540
And copy your localhost URL.

10:20.620 --> 10:21.700
And paste it to your browser.

10:24.300 --> 10:27.340
Or just refresh the page with localhost URL.

10:28.580 --> 10:30.540
So you need to do it every single time.

10:32.660 --> 10:34.060
All right, that's it for this tutorial.

10:34.060 --> 10:36.860
I hope it was helpful and see you in the next one.
