WEBVTT

00:00.120 --> 00:00.840
Welcome.

00:00.840 --> 00:06.200
In this quick tutorial, I'm going to show you how to install anything locally on your machine if you

00:06.240 --> 00:08.200
are using iOS operating system.

00:08.400 --> 00:09.600
So if you have a MacBook.

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

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

00:22.720 --> 00:25.040
still working even when your computer is off.

00:25.520 --> 00:31.080
It also gives you more control over resources, so your local machine's power does not limit you.

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

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

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

00:48.360 --> 00:51.960
Want to learn the platform or build workflows offline?

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

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

01:01.640 --> 01:06.460
And we'll be using NodeJS, which makes the process super simple.

01:08.980 --> 01:09.900
So let's jump in.

01:09.940 --> 01:11.140
So first thing first.

01:12.300 --> 01:14.420
Google and GitHub.

01:17.820 --> 01:18.820
Is the first link.

01:18.820 --> 01:21.060
So for code workflow automation platform.

01:21.700 --> 01:22.460
Click on it.

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

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

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

01:37.300 --> 01:39.660
So once you are on the page, scroll down.

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

01:51.340 --> 01:59.140
you can try instant NGP which requires no JS or if you know how to use Docker, you can install N810

01:59.180 --> 02:01.620
using Docker, which is a little bit more technical.

02:02.740 --> 02:05.220
But in this video we are going to use NodeJS.

02:05.580 --> 02:06.540
So just click on it.

02:08.900 --> 02:14.320
Now as you can see NodeJS is used to run JavaScript everywhere, so it's free and open source.

02:14.320 --> 02:19.400
Cross-platform JavaScript runtime environment that lets developers create serverless web apps.

02:20.000 --> 02:23.600
Command line tools and scripts to download Node.js.

02:26.480 --> 02:28.120
It takes just a minute.

02:28.600 --> 02:31.760
Now simply click on the file to start the installation process.

02:35.240 --> 02:36.000
Click next.

02:38.080 --> 02:40.000
Accept the terms in the license agreement.

02:40.960 --> 02:41.600
Next.

02:43.160 --> 02:43.880
Next.

02:46.680 --> 02:47.360
Next.

02:49.440 --> 02:51.360
Automatically install the necessary tools.

02:51.800 --> 02:52.440
Next.

02:52.680 --> 02:53.280
Install.

02:57.840 --> 02:58.480
Confirm.

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

03:13.520 --> 03:14.600
Now click on finish.

03:16.710 --> 03:17.390
All right.

03:17.430 --> 03:22.150
So once Node.js is installed we need to install N810 globally on your machine.

03:23.270 --> 03:25.270
I'm going to open up my terminal here.

03:31.710 --> 03:33.550
And I'm going to type a simple command.

03:36.190 --> 03:36.750
Sudo.

03:39.350 --> 03:40.150
NPM.

03:43.790 --> 03:44.590
Install.

03:48.670 --> 03:49.590
And hit enter.

03:50.630 --> 03:54.310
Now we need to provide password to give it admin access.

04:04.310 --> 04:09.030
What this command does is it installs n810 permanently on your system.

04:10.950 --> 04:14.710
So if you were to just type Npx N810.

04:17.670 --> 04:20.150
Like you might see on the GitHub page.

04:24.730 --> 04:26.810
That would only install it temporarily.

04:29.370 --> 04:34.370
So you would need to run that command every time you want to use an A-10, and you would have to add

04:34.370 --> 04:37.730
a bit every time as it fetches all the dependencies.

04:38.370 --> 04:39.250
So it's not great.

04:40.370 --> 04:43.450
So by using the global install we are setting it up once.

04:43.450 --> 04:44.210
And we are done.

04:47.450 --> 04:53.290
Now once we start let's run another simple command to open our localhost.

04:54.690 --> 04:56.010
So simply type n810.

04:58.650 --> 04:59.530
And hit enter.

05:09.890 --> 05:15.250
And you will get a URL with your localhost that you can paste into your browser.

05:18.210 --> 05:19.250
So let's copy it.

05:24.730 --> 05:25.810
Let's open browser.

05:28.870 --> 05:34.510
Past here for the first time, you will get a window to create an account.

05:34.510 --> 05:38.910
So just provide your name, email and password and you will land on this main dashboard page.

05:42.070 --> 05:47.950
From here you can access this main dashboard using this localhost URL anytime now.

05:47.950 --> 05:53.470
If it terminates or seems to stop working, just refresh the web page and it should be good to go.

05:56.350 --> 05:57.870
Now this is really important.

05:58.110 --> 06:05.110
You need to remember that every time you want to run your local instance, after you turn off your MacBook,

06:05.310 --> 06:12.830
you will need to open terminal and type N810, and then you will have access to your dashboard where

06:12.830 --> 06:15.190
you can build your agents and automations.

06:16.030 --> 06:20.470
So when I press enter now, it will load up and launch N810.

06:20.910 --> 06:28.030
So now I can use this localhost URL as a server and just simply paste it to my browser and it will launch

06:28.030 --> 06:29.350
my N810 instance.

06:30.630 --> 06:32.310
Thanks for watching and see you next time.
