Merge pull request #7469 from creocoder/fix-applications2

Several application templates fixes
This commit is contained in:
Alexander Makarov
2015-02-26 18:24:22 +03:00
5 changed files with 8 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

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