1
00:00:01,430 --> 00:00:06,410
We've now added in a lot of code to determine what environment we are in and then use that determination

2
00:00:06,410 --> 00:00:08,960
to decide how to serve up our Riak project files.

3
00:00:09,410 --> 00:00:11,300
So I want to do just a very quick test.

4
00:00:11,490 --> 00:00:15,640
I want to make sure that all this stuff is working when we are running this project on our local machine.

5
00:00:16,430 --> 00:00:18,500
So to begin, I'm going to go back over to my terminal.

6
00:00:19,070 --> 00:00:23,350
I'm going to restart my node index serve command inside of our district directorate.

7
00:00:24,830 --> 00:00:26,450
I'll then go back over to my editor.

8
00:00:27,510 --> 00:00:34,710
I'm going to find my local client, SIRC Index, not file, so I want to make a very small change to

9
00:00:34,710 --> 00:00:40,080
our REACT application and then I want to see that change appear inside the browser because that is desirable

10
00:00:40,080 --> 00:00:42,780
behavior when we are doing active development on our app.

11
00:00:44,100 --> 00:00:50,010
So right above my cell list, I'm going to add in a simple one and give it the text just like so.

12
00:00:51,720 --> 00:00:56,810
Well, then flip back over to my browser, refresh the page, and then I'll see at the very top test

13
00:00:56,820 --> 00:00:57,520
of your right there.

14
00:00:58,020 --> 00:01:02,070
Now, if you do not see tests appear, make sure your scrolled all the way up to the top of the browser.

15
00:01:02,250 --> 00:01:04,950
Sometimes it will just kind of edge out that test word.

16
00:01:06,060 --> 00:01:07,080
So this is very good.

17
00:01:07,110 --> 00:01:12,570
It means that we can run our Seelie in a development environment and we can see a live dynamic changes

18
00:01:12,570 --> 00:01:15,040
made to our REACT application appear on the screen right away.

19
00:01:15,360 --> 00:01:16,430
So, again, very good.

20
00:01:17,040 --> 00:01:21,750
We need to make sure we also eventually test running our application in a sort of production environment

21
00:01:21,750 --> 00:01:22,200
as well.

22
00:01:22,560 --> 00:01:27,000
So we need to make sure that if we deploy this thing off to NPM, someone installs it on their machine,

23
00:01:27,300 --> 00:01:30,210
we should then correctly make sure.

24
00:01:31,740 --> 00:01:38,580
That we provide that serve commander right here and is production of false, so we would want to meet

25
00:01:38,610 --> 00:01:43,440
his production to be true, we would want use proxy to show up inside the search function as false,

26
00:01:43,830 --> 00:01:48,960
that we instead make use of built project files inside of our local client build directory instead.

27
00:01:50,030 --> 00:01:54,740
All right, so this looks pretty good, I'm going to go back over to my index file and just remove that

28
00:01:54,950 --> 00:01:55,820
one very quickly.

29
00:01:56,660 --> 00:01:58,990
Let's see this right here and we'll come back in just a moment.

