Hello and welcome.
In a bit later we are going to create new Real's put it to create a new Rose projet this is done using
the command line to Fiona Mac.
You can use a Terminal find a window you can use See command print or if you've got it installed you
can use it back.
I will be using it before you create a project.
Rails is being created projet anyway.
But what was rails developer.
Do they tend to have a designated area on their computer and create a directory there where this store
or their Real's protect the common area in the Windows based machine.
The my documents here.
That's quite popular so I'm going to maintain that tradition and navigate to the to my documents here.
So to do that you do change their screen which is see the type in documents
and that would take me to my documents area so you can see it highlighted in your look.
If you haven't created a directory of for that in my documents you don't have to do it in my documents
in a way you could do anyway you could even do it on your desktop.
I'm doing mine on my in my documents directory so it's best to always have a for that within that documents
correct.
If you have a you can create one I have already got one so I'm just going to navigate to that.
So I just want a look to see what I have in my documents so I do command D I R space to enter.
Just press enter.
It's giving me a list of everything in there so in the directory I want is called sites so I'm going
to navigate to it.
I do see the sites he can see highlighted in yellow now which means I am now in the directory.
I want to be.
So now I can begin to create the new rails project.
Their command need is simply to typing reals in like case space followed by the word new and then space
followed by the name you want to call your project.
You can't leave gaps between the names.
If your projet name is going to be a long name or a two word name always use an underscored to separate
the works.
If you don't want the words come like join together as one.
So I'm going to call mine Joe Bloggs Joe Bloggs.
I'm not using any underscore I just join in the worst scare.
Once you've done press enter.
And what grill's would do.
It will create the skeleton files and folders that your application needs.
Every Real's projet that is generated is generated this way and it creates a bunch of files and folders
that will enable the application to function.
So all these auto generated files and folders will help make of this troxell of the reals application
so let's have a look to see if we can see some of them here.
The best way to easily see this is to open the file and as far as in your text editor so was.
Now that we've created it.
So let's navigate to the name you called your project.
I called mine drill block some are going to do see the jewel blocks
so it's important.
You can see here now your same master.
It's important that you navigate change directly to your project because everything you're going to
do from now on will be done inside that projec.
The thing with having read real projects is that they are kind of like an isolated environment so everything
I'm going to do now relating to this project will be done inside that directory so it's important that
you navigate.
So when you issue commands the commands are issued against the right Directorate.
So we're now in the correct directive which is the jewel blocks in your may not be called Joe Bloggs
wherever yours is caught.
Make sure you in the right direction.
The best way to see the files and folders that was auto generated is to actually open the mob in your
text editor some years in sublime text.
I'm going to click on sublime text and go to file an open folder.
So I'm going to navigate to all my documents and pick up my fault.
That's it.
So the best opening of being a text editor.
You can see what more important file directory here's this one here.
What happened.
This is where we'll do most of our work in this project.
And most of the work would be done within this project.
So these are all the files generated or generated when the project was created.
So that's it for this shot in this lecture.
We have successfully created in New rails projet.
Thanks for watching.
Bye for now.