1
00:00:00,360 --> 00:00:07,140
In order to set up entire functionality, we will use Klausener NPM package, basically a package provided

2
00:00:07,140 --> 00:00:09,420
by the Klausener in order to store those images.

3
00:00:09,750 --> 00:00:16,440
And if you want to use it in your own project, the commanders and PMI, Klausener, again, the commanders

4
00:00:16,710 --> 00:00:18,370
and PM on cloud nine.

5
00:00:18,690 --> 00:00:25,790
But since you're using starrer, I already installed for you and if you check out our docs repackaged

6
00:00:25,790 --> 00:00:29,550
docs, you'll see that it offers quite a bit of options.

7
00:00:29,820 --> 00:00:31,230
Really sky's the limit.

8
00:00:31,590 --> 00:00:35,940
But in our case, we'll just focus on the straight up upload part.

9
00:00:36,330 --> 00:00:38,850
And as far as the setup, it goes something like this.

10
00:00:39,660 --> 00:00:46,420
First, we want to navigate back to the app games and just double check in package.

11
00:00:46,440 --> 00:00:49,430
Jason, you should see the cloud now.

12
00:00:49,440 --> 00:00:53,790
If you don't, then please install it online in the app.

13
00:00:53,790 --> 00:00:59,600
Just where we want to do is first important cloud and we're going to sign it to some kind of variable.

14
00:01:00,390 --> 00:01:02,290
So I'm going to look for my file upload.

15
00:01:02,290 --> 00:01:06,570
Then right after that, I'm going to go with Consed and then Cloud Narey.

16
00:01:06,900 --> 00:01:09,960
And as I said, I always mess this up.

17
00:01:09,960 --> 00:01:12,330
I always go with a and actually should be.

18
00:01:12,330 --> 00:01:15,840
Oh not a big deal but something that I wanted to mention.

19
00:01:16,110 --> 00:01:21,150
So Cloud Nory here, that's my variable and that is going to be equal to my package.

20
00:01:21,540 --> 00:01:28,410
So I'm going to go with a require that I'm looking for a package and then a must must must must must

21
00:01:28,410 --> 00:01:31,880
think that we need to add is a version too.

22
00:01:32,070 --> 00:01:40,560
So please don't forget that in case you do, you're going to leave the comment here, use V2.

23
00:01:40,710 --> 00:01:44,100
Otherwise everything that you're about to set up is not going to work.

24
00:01:44,670 --> 00:01:47,580
And then we want to run the config method.

25
00:01:47,730 --> 00:01:51,930
So we look for Colaneri and again, I mess that up with my error here.

26
00:01:52,200 --> 00:02:01,470
So Cloudera event config method and here we pass in the object and keys must match exactly to what I'm

27
00:02:01,470 --> 00:02:01,950
typing.

28
00:02:02,160 --> 00:02:05,670
So the values of course, are going to be different because they're coming from the N.V..

29
00:02:06,060 --> 00:02:13,530
But as far as the keys, we go here with Cloud9 and in my case I'm going to go process that the N.V.

30
00:02:13,980 --> 00:02:19,530
process, the data entry and then Cloud9 and that's my variable name.

31
00:02:19,530 --> 00:02:21,330
So Cloud underscore name.

32
00:02:21,640 --> 00:02:29,460
Then we add a comma and we go with API underscore key and that is going to be equal to again process.

33
00:02:30,520 --> 00:02:35,890
Process, not envy, and we're looking for cloud API.

34
00:02:36,730 --> 00:02:44,350
I was the name of my variable, so cloud API key and last one is the API underscore secret.

35
00:02:44,620 --> 00:02:50,620
And as you can see, you're getting suggestions, so make sure that you actually use them.

36
00:02:51,010 --> 00:02:57,610
So let's go here with Process DOT N.V. and that cloud API.

37
00:02:58,150 --> 00:02:59,860
And I think I named it secret.

38
00:02:59,860 --> 00:03:03,670
So underscore and secret Sayeret.

39
00:03:03,670 --> 00:03:08,350
And just to stay on the safe side, I'll actually restarted as well.

40
00:03:08,830 --> 00:03:14,860
And if everything is correct, you should see the server is listening on post three thousand.

41
00:03:15,040 --> 00:03:20,200
If you do, we are in good shape and we can continue with the setup.

