Browse Source

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

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c8be05665f
  1. 7
      apps/advanced/README.md
  2. 3
      apps/advanced/composer.json

7
apps/advanced/README.md

@ -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

3
apps/advanced/composer.json

@ -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": {

Loading…
Cancel
Save