WEBVTT

00:00:00.079 --> 00:00:03.759
So let's start with the setup.
Cloud Code is

00:00:03.839 --> 00:00:07.459
available for all operating systems,
and attached you find a link to the

00:00:07.559 --> 00:00:11.520
setup instructions because there you'll
find some commands you can simply copy and

00:00:11.579 --> 00:00:14.719
paste to install Cloud Code on your
system.

00:00:14.819 --> 00:00:18.780
Once you got it installed,
you invoke it from the command line

00:00:18.819 --> 00:00:21.319
it primarily is a command line tool.

00:00:21.479 --> 00:00:25.279
It has no graphical user interface,
though it does work

00:00:25.319 --> 00:00:29.219
together with certain code editors
and can give you kind

00:00:29.279 --> 00:00:33.200
of a graphical user interface,
at least for some parts of it, as you

00:00:33.240 --> 00:00:36.740
will see.
So here I'm in a new project in Visual

00:00:36.819 --> 00:00:40.239
Code,
the editor I'm using here in this course,

00:00:40.360 --> 00:00:43.759
project is essentially a bare bone basic

00:00:43.899 --> 00:00:47.840
Next.js project.
You'll also find this starting snapshot

00:00:47.900 --> 00:00:51.559
you wanna follow along.
And in this project, I can open up

00:00:51.659 --> 00:00:55.299
my terminal,
so the CLI built into Visual Studio Code.

00:00:55.340 --> 00:00:59.099
I opened that up here. And then there,
I can run Cloud

00:00:59.159 --> 00:01:03.020
with that installed.
And the first time you do this in any

00:01:03.100 --> 00:01:06.879
warning whether you trust, uh,
this folder and the files in there

00:01:06.939 --> 00:01:10.119
because, and that's important,
Cloud Code will

00:01:10.279 --> 00:01:13.719
operate on that project, and
that does not just

00:01:13.779 --> 00:01:17.599
mean that it will write code.
It also means that it will

00:01:17.680 --> 00:01:21.279
execute certain commands in this project,
for example, to run

00:01:21.400 --> 00:01:25.299
automated tests. It will read the files in

00:01:25.339 --> 00:01:28.959
that folder. So, of course,
you don't wanna run Cloud Code on any

00:01:29.079 --> 00:01:31.919
random folder that could contain malicious
software.

00:01:32.019 --> 00:01:35.519
Just saying. So here, of course,
I'll proceed and then we're

00:01:35.580 --> 00:01:37.599
inside Cloud Code.
