mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 17:07:33 +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 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",
|
||||
"source": "https://github.com/yiisoft/yii2"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"php": ">=5.4.0",
|
||||
"yiisoft/yii2": "~2.0.0",
|
||||
@ -26,6 +25,7 @@
|
||||
"yiisoft/yii2-faker": "~2.0.0"
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"process-timeout": 1800
|
||||
},
|
||||
"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 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
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
"irc": "irc://irc.freenode.net/yii",
|
||||
"source": "https://github.com/yiisoft/yii2"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"php": ">=5.4.0",
|
||||
"yiisoft/yii2": "~2.0.0",
|
||||
@ -26,6 +25,7 @@
|
||||
"yiisoft/yii2-faker": "~2.0.0"
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"process-timeout": 1800
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@ -12,12 +12,11 @@
|
||||
"irc": "irc://irc.freenode.net/yii",
|
||||
"source": "https://github.com/yiisoft/yii2"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4.0",
|
||||
"yiisoft/yii2": "~2.0.0"
|
||||
},
|
||||
"config": {
|
||||
"vendor-dir": "protected/vendor"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"php": ">=5.4.0",
|
||||
"yiisoft/yii2": "~2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user