views:

384

answers:

3

In the installation instructions for Yii it is nescessary to use console and command line utility - yiic.

Well, on my shared hosting I don't have ssh access.

This is why I have following questions:

  1. How often and for what reasons will I have to use console?
  2. Is there a way to avoid using yiic?
  3. May I run yiic on local server and then just transfer everything to the final web server?

Thanks!

+2  A: 

Answer from Yii forums:

No, you don't use yiic on production server to generate code. You only use it on your dev machine which you normally should have full control over it.

The yiic code generation tool is just a way to help you speed up your development. If you are familiar with yii, you can create an application from scratch without using yiic.

undsoft
A: 

speaking of yiic. i'm wondering why i could not run it in console.

I'm using wamp on win xp.

i go to the directory of the yiic framework

its in D:\wamp\www\framework\

and run yiic and any other variations per Larry Ullman's blog. but still got: "..." is not a recognizable internal/ external command...

How should i be able to run yiic? thanks.

bgreen1989