Fixes #1122: removed init from post-install-cmd-script of composer.

This commit is contained in:
Qiang Xue
2013-11-08 23:58:58 -05:00
parent dbecf848f4
commit c8be05665f
2 changed files with 8 additions and 2 deletions

View File

@ -76,6 +76,13 @@ php composer.phar create-project --stability=dev yiisoft/yii2-app-advanced yii-a
Note that in order to install some dependencies you must have `php_openssl` extension enabled. Note that in order to install some dependencies you must have `php_openssl` extension enabled.
After the application is installed, switch to the project folder and run the following command
to initialize the application:
~~~
./init (init on Windows)
~~~
### Install from an Archive File ### Install from an Archive File

View File

@ -23,8 +23,7 @@
}, },
"scripts": { "scripts": {
"post-create-project-cmd": [ "post-create-project-cmd": [
"yii\\composer\\Installer::setPermission", "yii\\composer\\Installer::setPermission"
"./init"
] ]
}, },
"extra": { "extra": {