1
00:00:00,680 --> 00:00:01,710
Hello and welcome.

2
00:00:01,710 --> 00:00:08,610
In this lecture will be a start in the built in web server that comes with rails.

3
00:00:08,640 --> 00:00:16,620
Rails comes with a built in sermo called boerma says we've already created how our project we should

4
00:00:16,620 --> 00:00:21,280
have a functional rails application ready to have to see it.

5
00:00:21,360 --> 00:00:26,350
We need to start the web server on our development machine.

6
00:00:27,030 --> 00:00:35,730
So open up your command line utility and make sure you are in your project directory.

7
00:00:36,120 --> 00:00:46,040
If you are using a Windows computer you have to pass this scrips on the being folder.

8
00:00:46,050 --> 00:00:48,330
So this is how you would do it.

9
00:00:48,530 --> 00:00:49,920
The bean.

10
00:00:51,670 --> 00:00:52,460
Slash.

11
00:00:54,990 --> 00:01:03,090
Real's serve us so you can either do Real's server or Real's s just a word.

12
00:01:03,110 --> 00:01:04,540
S will do the same.

13
00:01:04,730 --> 00:01:07,420
So if you own a Mac you know you don't have to use a being.

14
00:01:07,460 --> 00:01:09,650
You could just do a real server.

15
00:01:10,010 --> 00:01:14,020
If you own a window it should still work without parts in it.

16
00:01:14,030 --> 00:01:14,920
True.

17
00:01:15,060 --> 00:01:16,320
Been directory.

18
00:01:16,640 --> 00:01:25,010
But it is best to pass the actual scripts that had been folder direct so that by doing it that way you

19
00:01:25,010 --> 00:01:32,850
pass it directly to Doug Ruby interpreter which is which is actually in the bean directory.

20
00:01:32,960 --> 00:01:35,010
OK so it's best to do it this way.

21
00:01:35,180 --> 00:01:41,700
So once you've done that next thing to do press enter and that should start your server.

22
00:01:41,780 --> 00:01:47,880
It also tells you what Port usually uses port three thousand.

23
00:01:47,940 --> 00:01:53,600
So you're a kid they can like to start 20 so it's telling you some information about the server and

24
00:01:53,810 --> 00:02:00,440
they started out by tenters but the server could poor ma tells you what version of a real application

25
00:02:00,560 --> 00:02:07,460
you are running and is going to display the application on local horse three tanzan will be heading

26
00:02:07,460 --> 00:02:15,080
there in a few minutes and there are some other information relating to the server as well.

27
00:02:15,080 --> 00:02:20,770
The key thing to note here it says that it's listen in on tcap on that so let's open up.

28
00:02:20,810 --> 00:02:25,250
Open up your web browser and just typing low cool.

29
00:02:25,290 --> 00:02:29,440
Most likely local host slash 3000.

30
00:02:29,620 --> 00:02:37,470
And if everything checks out okay if you can see this page then your application is working properly

31
00:02:37,490 --> 00:02:38,790
so well done.

32
00:02:38,810 --> 00:02:39,780
Good job.

33
00:02:40,010 --> 00:02:47,990
So we're gonna live this server running as we build the projet So he tells you here what the server

34
00:02:47,990 --> 00:02:49,160
is doing.

35
00:02:49,160 --> 00:02:52,230
He's got the run on that so you can read up.

36
00:02:52,250 --> 00:02:55,640
You can read the details if you want by the key thing is this.

37
00:02:55,850 --> 00:03:03,200
If you can see this page congratulations it means everything is working the way you've set it up so

38
00:03:03,200 --> 00:03:05,730
you should see you are on rails.

39
00:03:05,740 --> 00:03:09,660
He tells you a version of rails your on hand.

40
00:03:09,680 --> 00:03:14,440
Also a version of Ruby programming language so if you can see this.

41
00:03:14,690 --> 00:03:18,940
Congratulations for that is it for this lecture.

42
00:03:19,310 --> 00:03:27,200
Just a little start on the server and see our application just make sure we are on the same page.

43
00:03:27,200 --> 00:03:29,130
Thanks and bye for now.
