yangruiyou85 / yiidoc

Automatically exported from code.google.com/p/yiidoc
0 stars 0 forks source link

wrong or misleading shell comands in "Creating First Yii Application" #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the english version of "Creating First Yii Application"
(http://www.yiiframework.com/doc/guide/quickstart.first-app) there is a
misleading comand in the first note: instead of

% cd WebRoot/testdrive
% php YiiRoot/framework/yiic.php webapp WebRoot/testdrive

it should say just

% php YiiRoot/framework/yiic.php webapp WebRoot/testdrive

In the german translation
(http://www.yiiframework.com/doc/guide/de/quickstart.first-app) there is
the same mistake plus one more error in the commands for creating
CRUD-operations:

instead of 

% cd WebVerzeichnis/testdrive
% YiiVerzeichnis/framework/yiic shell

it must say

% cd WebRoot/testdrive
% protected/yiic shell

cheers, Moritz

Original issue reported on code.google.com by moritz.s...@gmail.com on 22 Apr 2010 at 9:37

GoogleCodeExporter commented 9 years ago
Thanks, agree that the webapp command can be confusing. 

Changed in german docs to:

webapp:
 % cd WebVerzeichnis
 % php YiiVerzeichnis/framework/yiic.php webapp testdrive

(Suggest to change that in en guide, too)

shell:
% cd WebVerzeichnis/testdrive
% protected/yiic shell

Original comment by haertl.mike@gmail.com on 2 May 2010 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by mdomba@gmail.com on 28 Aug 2010 at 11:08