• 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

apache apple block editor chrome cms css debug eCommerce embed firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery linux localization macOS mac os x ms sql mysql open source optimize php php 7.2 rest api seo svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

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