Creating the new application
First things first, let's create the initial Yii web application. We have already seen how easy this is to accomplish in Chapter 2. As we did there, we will assume the following:
YiiRootis the folder where you have installed YiiWebRootis configured to be the document root of your web server (that is, to wherehttp://localhost/resolves)
So, from the command line, change to your WebRoot folder, and execute the following:
% cd WebRoot % YiiRoot/framework/yiic webapp trackstar Create a Web application under '/Webroot/trackstar'? [Yes|No] Yes
This provides us with our skeleton folder structure and our out of the box working application. You should be able to view the homepage of this new application by navigating to:
http://localhost/trackstar/index.php?r=site/index