Commit cebc2567 by Qiang Xue

updated README.md for gii extension [skip ci]

parent b72aa500
...@@ -52,3 +52,20 @@ or if you have enabled pretty URLs, you may use the following URL: ...@@ -52,3 +52,20 @@ or if you have enabled pretty URLs, you may use the following URL:
``` ```
http://localhost/path/to/index.php/gii http://localhost/path/to/index.php/gii
``` ```
Using the same configuration for your console application, you will also be able to access Gii via
command line as follows,
```
# change path to your application's base path
cd path/to/AppBasePath
# show help information about Gii
yii help gii
# show help information about the model generator in Gii
yii help gii/model
# generate City model from city table
yii gii/model --tableName=city --modelClass=City
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment