• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

Creating a New Yii Application – Quick Reference

January 25, 2012 by Webhead

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
cd WebRoot
php YiiRoot/framework/yiic.php webapp sampleApp

configure the config files located at:
sampleApp/protected/config/main.php
sampleApp/protected/config/test.php

Now edit test.php and override your test database connection by entering info into the ‘db’ array item.

 

Filed Under: Coding Tagged With: php, yii

Primary Sidebar

Topics

502 apache apple bluehost bootstrap buddypress chrome cloudways cms css debug drupal eCommerce firebug firefox git goDaddy google google analytics google maps hacked hosting htaccess html html 5 icons IE crap image iPad iPhone javascript jquery linux localization mac os x ms sql mysql open source optimize php tinymce wordpress wpengine yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools