mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 17:57:38 +08:00
Fixes #1122: removed init from post-install-cmd-script of composer.
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user