WEBVTT

00:00.120 --> 00:04.720
All right, so after all of that big old explanation, probably more than you wanted to know, I'm going

00:04.760 --> 00:05.360
to press enter.

00:05.360 --> 00:06.560
We're going to do this.

00:06.560 --> 00:12.840
So the first thing that's going to do is, uh, say allow to that it's going to say unable to find image

00:12.840 --> 00:13.280
locally.

00:13.280 --> 00:17.960
So I don't have this image, this blueprint running on my computer.

00:17.960 --> 00:24.360
And so it's now fetching it from Nanaimo, this, this place right here that we gave it.

00:24.360 --> 00:29.960
And it's downloading the, this, this Docker image coming into this computer.

00:29.960 --> 00:31.920
And you're seeing all of this downloading.

00:31.920 --> 00:34.040
And I've got a medium internet connection.

00:34.040 --> 00:34.880
So it's quite fast.

00:34.880 --> 00:38.800
It might be slower for you as it downloads onto my computer.

00:38.840 --> 00:42.800
This this image this blueprint from and it ends websites.

00:43.080 --> 00:49.640
And when it's done with that, it's going to be time for it to create a running Docker container on

00:49.640 --> 00:53.560
my computer running this software that's being described here.

00:53.560 --> 00:56.000
And you can see it's got about 30s to go.

00:56.000 --> 00:57.080
So I will see you in a second.

00:57.080 --> 00:57.520
Okay.

00:57.560 --> 00:59.600
Well, it just completed really fast.

00:59.840 --> 01:04.740
It downloaded it and it then got started.

01:04.780 --> 01:06.620
It then said migrations in Progress.

01:06.660 --> 01:11.300
It gave all of this stuff like lots of lots of reports that you may not have gotten, because you will

01:11.300 --> 01:13.980
have created this at a slightly different time to me.

01:14.260 --> 01:16.860
And then it has this, and then it has a message.

01:16.860 --> 01:19.940
Failed to start Python task runner in internal mode.

01:19.940 --> 01:22.460
Because Python three is missing from this system.

01:22.460 --> 01:23.740
It angrily tells me.

01:23.740 --> 01:26.260
And now you might read that and you might say, well, that's not true.

01:26.300 --> 01:28.540
I've got Python three on my system.

01:28.580 --> 01:31.100
Or maybe you don't have it, but if you do, then you're probably thinking that.

01:31.140 --> 01:32.540
To which the answer is aha!

01:32.940 --> 01:38.140
It's misleading this message when it says it's missing from this system, it's not actually referring

01:38.180 --> 01:39.940
to your computer confusingly.

01:40.180 --> 01:41.380
So what is it referring to?

01:41.420 --> 01:45.340
It's referring to the Docker container, the computer within the computer.

01:45.340 --> 01:50.300
And it's saying that it's running this this instruction before Python three got installed.

01:50.620 --> 01:56.460
And what you need to think when you see this kind of message is that, look this container was created

01:56.460 --> 01:57.420
by Pn10.

01:57.580 --> 02:03.160
That means every time someone starts it like this on any computer anywhere, they're going to get this

02:03.160 --> 02:06.280
message and that must mean that are doing it on purpose.

02:06.280 --> 02:07.200
They know what they're doing.

02:07.240 --> 02:09.200
They built this container intentionally.

02:09.400 --> 02:11.040
We don't need to worry about that message.

02:11.080 --> 02:14.560
Obviously, they intended for Python three to be missing.

02:14.720 --> 02:18.640
And it says here the Python runner in internal mode intended only for debugging.

02:18.640 --> 02:21.120
So none of this matters is my guess.

02:21.320 --> 02:24.760
And this next message also doesn't matter is my guess.

02:24.760 --> 02:30.280
It ran, it successfully ran and it now says it's accessible via localhost.

02:30.320 --> 02:33.200
Press O to open in the browser.

02:33.280 --> 02:34.440
But I have news for you.

02:34.440 --> 02:37.040
If you press O, nothing is going to happen.

02:37.080 --> 02:37.880
You might think, why?

02:37.920 --> 02:38.640
What's going on?

02:38.640 --> 02:39.160
What?

02:39.200 --> 02:41.160
Well, it's the same catch again.

02:41.720 --> 02:47.640
A pressing O would open it in a browser within this Docker container, which is in some little world

02:47.640 --> 02:50.360
somewhere that is, that is built within our computer.

02:50.360 --> 02:53.320
We want to open a browser on our actual computer.

02:53.360 --> 02:57.760
You sometimes call it the host when you're speaking in Docker language.

02:57.760 --> 03:04.190
So so we can't we can't do that from this, this command which is now within the the container.

03:04.470 --> 03:12.390
Uh, so but it says inside the container that the editor is now accessible on this web address.

03:12.390 --> 03:14.870
It's running in localhost five, six, seven, eight.

03:14.910 --> 03:20.110
And again, if we bring up a browser and we go to localhost, that's not the same as the container's

03:20.110 --> 03:20.910
localhost.

03:21.350 --> 03:27.470
But do you remember with apologies that this is getting to, to uh, detail for you, this thing here,

03:27.470 --> 03:33.310
this five, six, seven eight has been mapped between the Docker container and the outer world, which

03:33.310 --> 03:38.470
means that we would indeed be able to bring up a browser pointed at five, six, seven, eight.

03:38.470 --> 03:42.590
And it's going to show us whatever is on that port on our container.

03:43.270 --> 03:44.750
That might not have made it much sense to you.

03:44.750 --> 03:46.190
And it doesn't matter if it hasn't.

03:46.190 --> 03:52.510
Just just know that we should be able to bring put that into a browser window and see it come up, which

03:52.510 --> 03:55.190
is what we're just about to do first.

03:55.190 --> 04:00.210
Just before we do that, I do want to quickly show you Docker desktop one more time.

04:00.250 --> 04:04.130
Okay, so here I am on Docker desktop and I'm on the containers page.

04:04.250 --> 04:05.490
And I just want to show you.

04:05.530 --> 04:10.770
You remember on volumes page we have this data uh, and uh there it is.

04:10.770 --> 04:14.850
But if we go to the containers page now you'll see we have a new container.

04:14.850 --> 04:16.730
Remember, this was empty a second ago.

04:16.770 --> 04:21.250
Now it has a container called N810, and it has like an ID.

04:21.450 --> 04:26.810
It's the image, the thing that was used, the blueprint that was used to create this container is this

04:26.810 --> 04:29.490
thing here, which you remember was in our command.

04:29.690 --> 04:30.090
Uh.

04:30.090 --> 04:31.050
And look at that.

04:31.050 --> 04:36.090
It's telling us, just as I just explained to you, that port five, six, seven, eight inside that

04:36.090 --> 04:41.730
container is being mapped to port five, six, seven eight on the computer overall.

04:41.730 --> 04:45.850
And so these two ports are connected together in some way.

04:46.130 --> 04:50.930
Uh, and uh, yeah, if I click on images, this is like the list of blueprints.

04:50.930 --> 04:58.250
You can see that we've got this this image, this description of how one goes about creating this container.

04:58.250 --> 04:59.350
It's all there.

04:59.350 --> 05:03.390
Everything is set up and running on our computer.

05:03.550 --> 05:05.070
It is on mine and hopefully on yours.

05:05.270 --> 05:08.990
And all that remains is to open up a web page and go to localhost.

05:08.990 --> 05:10.950
Colon 5678.

05:10.990 --> 05:11.790
Okay.

05:11.990 --> 05:13.110
Let's do that.

05:13.270 --> 05:15.310
Let's go back to the browser.

05:15.310 --> 05:26.070
Here it is a new browser window http localhost colon 5678.

05:27.390 --> 05:28.110
Here we go.

05:28.430 --> 05:30.230
Wow check that out.

05:30.470 --> 05:31.030
Ha.

05:31.470 --> 05:37.070
We we have ourselves an innate n screen set up owner account.

05:37.550 --> 05:38.590
What is this about?

05:39.430 --> 05:49.990
Well this is setting up like your login to your own version of Nh10 running on your own computer.

05:49.990 --> 05:54.590
So and this will be stored in a database running in that Docker container on your computer.

05:54.630 --> 05:56.870
We're now calling into that Docker container.

05:56.870 --> 05:58.850
So this is nothing to do with an cloud.

05:58.850 --> 06:01.850
Now, this is not the user account that you're already set up before.

06:01.890 --> 06:04.130
This is just something for your own database.

06:04.130 --> 06:05.490
So you can go to town here.

06:05.490 --> 06:10.930
But but it's worthwhile putting in a proper email because as you'll see, they they like to send some

06:10.930 --> 06:11.810
information.

06:11.810 --> 06:18.650
So I'll put in my name, I can spell it and then put in some some fancy password.

06:18.650 --> 06:21.250
I will copy a password, generate password.

06:21.490 --> 06:22.090
Thank you.

06:22.130 --> 06:23.250
Copy password.

06:23.410 --> 06:25.410
So put in a password there.

06:25.850 --> 06:29.410
And I don't want to receive security product updates.

06:29.690 --> 06:33.570
And now I will press next okay.

06:34.010 --> 06:35.690
And all these things come up.

06:35.730 --> 06:38.570
We might as well keep that keep track of that so we can log in again.

06:38.810 --> 06:41.130
And then they want to, uh, follow all of this.

06:41.130 --> 06:45.850
But it turns out you can just press, get started and miss it all, uh, get paid features for free

06:45.850 --> 06:46.450
forever.

06:46.450 --> 06:50.450
So this this, uh, it's already for free forever.

06:50.530 --> 06:53.530
Uh, these these features are little nice extras.

06:53.530 --> 06:56.970
And the reason they're doing this is to make sure that they get your email address, I think.

06:57.210 --> 06:59.800
But you might as well, because it's good to have these things.

06:59.800 --> 07:01.120
You can read about what they give you.

07:01.120 --> 07:07.280
So if you say send me a free license key, then when you do that, you will get an email very shortly

07:07.280 --> 07:10.200
and it will tell you how to then put in that.

07:10.200 --> 07:14.760
And that way you unlock a few extra, extra features into this platform.

07:14.760 --> 07:15.880
But here we are.

07:16.080 --> 07:17.280
We have arrived.

07:17.320 --> 07:21.560
This is Nw10 and it's running on our computer.

07:21.560 --> 07:28.240
And really, if you want to be pedantic about it, it's running inside a Docker container on my computer,

07:28.240 --> 07:35.960
and we've mapped the ports such that I can just go to localhost 5678, and it's reaching into the container

07:35.960 --> 07:42.280
and talking to the server that's running inside that Docker container on my computer, which is running

07:42.360 --> 07:43.120
Nw10.

07:43.320 --> 07:47.840
And this, this with the, the menu over here, that looks pretty familiar.

07:47.840 --> 07:54.760
This is similar to what happens when you go in to the home screen after after signing in to cloud.

07:54.800 --> 07:57.880
The only difference is it's running right here on my computer.
