WEBVTT

00:00.840 --> 00:01.520
Welcome.

00:01.520 --> 00:08.200
In the previous lesson, I showed you how to self-host Nathan on your own virtual private server.

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

00:14.520 --> 00:16.840
still working even when your computer is off.

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

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

00:30.000 --> 00:36.760
But maybe you just want to experiment with n810 or test things locally without testing cup full server.

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

00:40.160 --> 00:43.800
Want to learn the platform or build workflows offline?

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

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

00:53.480 --> 00:58.200
And we'll be using NodeJS, which makes the process super simple.

01:00.800 --> 01:01.680
So let's jump in.

01:01.720 --> 01:06.230
So first thing first Google N810 GitHub.

01:09.630 --> 01:12.870
Is the first link so far code workflow automation platform.

01:13.510 --> 01:14.230
Click on it.

01:15.790 --> 01:18.790
As you can see, the code is publicly available for free.

01:19.470 --> 01:25.030
It has a lot of stars, which means N810 has big and strong community and a lot of people are using

01:25.030 --> 01:25.510
it.

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

01:29.110 --> 01:31.510
So once you are on the page, scroll down.

01:36.110 --> 01:41.830
You can read the documentation if you want to, but we are looking for a quick start.

01:42.590 --> 01:49.270
So as you can see, you can try it in instant NGP which requires Node.js or if you know how to use Docker,

01:49.270 --> 01:53.430
you can install N810 using Docker, which is a little bit more technical.

01:54.510 --> 01:57.030
But in this video we are going to use NodeJS.

01:57.390 --> 01:58.350
So just click on it.

02:00.710 --> 02:06.780
Now as you can see, Node.js is used to run JavaScript everywhere, so it's free and open source cross-platform

02:06.780 --> 02:11.180
JavaScript runtime environment that lets developers create serverless web apps.

02:11.820 --> 02:15.420
Command line tools and scripts such as download Node.js.

02:18.300 --> 02:19.940
It takes just a minute.

02:20.420 --> 02:23.580
Now simply click on the file to start the installation process.

02:27.060 --> 02:27.820
Click next.

02:29.900 --> 02:31.820
Accept the terms in the license agreement.

02:32.740 --> 02:33.420
Next.

02:34.980 --> 02:35.700
Next.

02:38.500 --> 02:39.220
Next.

02:41.260 --> 02:43.180
Automatically install the necessary tools.

02:43.620 --> 02:44.260
Next.

02:44.460 --> 02:45.100
Install.

02:49.620 --> 02:50.300
Confirm.

02:57.700 --> 03:00.220
Lets wait for the installation process to be completed.

03:05.260 --> 03:06.380
Now click on finish.

03:09.210 --> 03:12.530
Now the terminal should pop up so you can install N810.

03:13.250 --> 03:15.450
Now this step is optional but can be useful.

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

03:21.610 --> 03:24.610
You can install a tool called NVM for windows.

03:25.170 --> 03:27.010
So as I said this is not necessary.

03:27.130 --> 03:29.810
But you can google NVM for windows.

03:29.850 --> 03:30.930
Open the first link.

03:34.290 --> 03:36.250
And scroll down to the last section.

03:38.970 --> 03:39.930
You see right here.

03:40.050 --> 03:42.730
Just click on it right now.

03:46.690 --> 03:47.810
And look for the.

03:49.930 --> 03:52.210
NVM setup zip.

03:54.810 --> 03:55.730
So download it.

03:59.290 --> 04:02.410
You can unzip the folder and just run the installer.

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

04:09.770 --> 04:12.840
is not working with the latest version.

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

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

04:24.240 --> 04:27.320
So most of the time the latest version works perfectly fine.

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

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

04:41.680 --> 04:43.480
So not the current one, the older one.

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

04:50.440 --> 04:55.000
simple command so you don't need to uninstall or reinstall anything manually.

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

05:01.400 --> 05:02.600
Alright, let's move on.

05:02.800 --> 05:09.400
Once you install the NodeJS, just simply go to the search bar and search for NodeJS.

05:11.520 --> 05:13.000
Node.js command prompt.

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

05:18.420 --> 05:21.540
So here we need to run the command to install N810.

05:22.220 --> 05:27.620
So let's type npm install.

05:34.460 --> 05:37.740
G and then hit enter.

05:41.180 --> 05:43.740
So it will start downloading everything it needs.

05:44.660 --> 05:48.300
So this usually takes a couple of minutes depending on your internet.

05:53.100 --> 05:54.660
And you only need to do this once.

05:57.300 --> 05:59.660
And then you can run n810 anytime from the terminal.

08:24.310 --> 08:24.710
Now.

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

08:29.150 --> 08:30.750
So now you can close this window.

08:32.990 --> 08:33.950
And reopen it.

08:35.390 --> 08:37.150
So open Node.js command prompt again.

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

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

08:58.030 --> 09:01.950
Now once this command is executed you will see a local URL.

09:02.910 --> 09:06.310
So just copy it and paste it to your browser.

09:07.790 --> 09:08.470
Hit enter.

09:13.430 --> 09:15.630
And you will land on this signup page.

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

09:22.390 --> 09:25.140
And once you are in you will see the Interface.

09:25.300 --> 09:31.140
Now when you shut down the NodeJS terminal, you will lose access to your N810 instance.

09:31.140 --> 09:38.460
So every time you want to start your n810 local instance, you need to go to Node.js command prompt

09:38.500 --> 09:39.020
terminal.

09:41.540 --> 09:42.460
Type N810.

09:43.260 --> 09:44.180
Press enter.

09:47.020 --> 09:48.100
Wait a few seconds.

10:04.180 --> 10:05.820
And copy your localhost URL.

10:11.900 --> 10:12.980
And paste it to your browser.

10:15.580 --> 10:21.780
Or just refresh the page with localhost URL so you need to do it every single time.

10:23.980 --> 10:25.340
Alright, that's it for this tutorial.

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