user863771
user863771

Reputation:

How do I run/use the Yii command line tool ?

What EXACTLY do I do to run the "Yiic Command line tool"

Open my reg CMD? double click on a certain file?

In the screen cast the tut tells you were going to need to use the Yii command line tool and then the screen instantly cuts to a command line that has some yii related text

My spidey sense is telling me that the answer to this question is going to probably be incredibly obvious and simple , but ive done a decent amount of searching and even if I figure it out I still think this question should be in the books because I know I cant be the only one whos never used a command line tool/was confused about this.

Upvotes: 2

Views: 10096

Answers (2)

T I
T I

Reputation: 9943

Only started using windows again recently but there should be a yiic.bat located in the framework directory of wherever you extracted yii. You will need to either append this location to your PATH variable or cd into the directory when you want to run yiic. You will also need php installed.

Hope this helps

Some links:

Have just had a quick go myself and seems to work, steps were:

shame the video doesn't have sound but thanks xibian for sharing :-)

Upvotes: 8

Uladzimir Pasvistselik
Uladzimir Pasvistselik

Reputation: 3921

If you dont like command-line tools, you can use Gii

http://www.yiiframework.com/doc/guide/1.1/en/topics.gii

Starting from version 1.1.2, Yii is equipped with a Web-based code generation tool called Gii. It supercedes the previous yiic shell generation tool which runs on command line. In this section, we will describe how to use Gii and how to extend Gii to increase our development productivity.

Upvotes: 0

Related Questions