mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 17:57:38 +08:00
Merge pull request #7469 from creocoder/fix-applications2
Several application templates fixes
This commit is contained in:
@ -75,7 +75,7 @@ You can then install the application using the following command:
|
|||||||
|
|
||||||
~~~
|
~~~
|
||||||
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
|
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
|
||||||
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
|
php composer.phar create-project yiisoft/yii2-app-advanced advanced
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
"irc": "irc://irc.freenode.net/yii",
|
"irc": "irc://irc.freenode.net/yii",
|
||||||
"source": "https://github.com/yiisoft/yii2"
|
"source": "https://github.com/yiisoft/yii2"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4.0",
|
"php": ">=5.4.0",
|
||||||
"yiisoft/yii2": "~2.0.0",
|
"yiisoft/yii2": "~2.0.0",
|
||||||
@ -26,6 +25,7 @@
|
|||||||
"yiisoft/yii2-faker": "~2.0.0"
|
"yiisoft/yii2-faker": "~2.0.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
"preferred-install": "dist",
|
||||||
"process-timeout": 1800
|
"process-timeout": 1800
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|||||||
@ -56,7 +56,7 @@ You can then install this application template using the following command:
|
|||||||
|
|
||||||
~~~
|
~~~
|
||||||
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
|
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
|
||||||
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
|
php composer.phar create-project yiisoft/yii2-app-basic basic
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Now you should be able to access the application through the following URL, assuming `basic` is the directory
|
Now you should be able to access the application through the following URL, assuming `basic` is the directory
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
"irc": "irc://irc.freenode.net/yii",
|
"irc": "irc://irc.freenode.net/yii",
|
||||||
"source": "https://github.com/yiisoft/yii2"
|
"source": "https://github.com/yiisoft/yii2"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4.0",
|
"php": ">=5.4.0",
|
||||||
"yiisoft/yii2": "~2.0.0",
|
"yiisoft/yii2": "~2.0.0",
|
||||||
@ -26,6 +25,7 @@
|
|||||||
"yiisoft/yii2-faker": "~2.0.0"
|
"yiisoft/yii2-faker": "~2.0.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
"preferred-install": "dist",
|
||||||
"process-timeout": 1800
|
"process-timeout": 1800
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -12,12 +12,11 @@
|
|||||||
"irc": "irc://irc.freenode.net/yii",
|
"irc": "irc://irc.freenode.net/yii",
|
||||||
"source": "https://github.com/yiisoft/yii2"
|
"source": "https://github.com/yiisoft/yii2"
|
||||||
},
|
},
|
||||||
"config": {
|
|
||||||
"vendor-dir": "protected/vendor"
|
|
||||||
},
|
|
||||||
"minimum-stability": "dev",
|
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4.0",
|
"php": ">=5.4.0",
|
||||||
"yiisoft/yii2": "~2.0.0"
|
"yiisoft/yii2": "~2.0.0"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"vendor-dir": "protected/vendor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user