Create the folder structure/Skelton in Yii
This is our third lecture and in this I am going to show you how to create the folder sturcture of Yii or a skelton i Yii.
I am using the WAMP server and go to the following directory and copy the path.
Then you need to go to the folowing directory…
Control Panel\All Control Panel Items\System[in windows 7] and select ‘advanced system settings’ and press ‘Environment variable’.
Then click on the ‘path’ under ‘System variable’ and paste the above coppied path in it.
See the below image and you will understand what I have done.
Now we have to create the folder stucture or the skelton using cmd.
Open the cmd and access the yii framework typing below codes in cmd.
Now you are in the C:\wamp\www\yii\framework directory.Now we need to create the folder stucture or skelton.
Type the below codes in cmd and press enter.
yiic webapp ../myyii
Then you will see the below thing in cmd.
And type ‘yes’ in cmd.And press Enter.
Now it is ok…Go to the followig directory…
you will see that folder called myyii has been cretaed.
That is all…
Visit the C:\wamp\www\yii\myyii\protected directory and you will see all the MVC file floders at there.