This post is here to remind me how to create a Web application using the Yii framework. It will be updated from time to time. This is assuming the yii framework is inside WebRoot
Here is how to create a new webapp named “sampleApp”.
Open your command prompt or Terminal
php YiiRoot/framework/yiic.php webapp sampleApp
configure the config files located at:
Now edit test.php and override your test database connection by entering info into the ‘db’ array item.