Commit 38c04b3d by Qiang Xue

Fixes #6189

parent 90c9b863
...@@ -39,7 +39,7 @@ addons: ...@@ -39,7 +39,7 @@ addons:
install: install:
- travis_retry composer self-update && composer --version - travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:1.0.0-beta3" - travis_retry composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
- export PATH="$HOME/.composer/vendor/bin:$PATH" - export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework: # core framework:
- travis_retry composer install --prefer-dist --no-interaction - travis_retry composer install --prefer-dist --no-interaction
......
...@@ -74,7 +74,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). ...@@ -74,7 +74,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
You can then install the application using the following command: You can then install the application using the following command:
~~~ ~~~
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta3" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta4"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
~~~ ~~~
......
...@@ -55,7 +55,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). ...@@ -55,7 +55,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
You can then install this application template using the following command: You can then install this application template using the following command:
~~~ ~~~
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta3" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta4"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
~~~ ~~~
......
...@@ -26,7 +26,7 @@ Si ya tienes composer instalado asegurate que esté actualizado ejecutando `comp ...@@ -26,7 +26,7 @@ Si ya tienes composer instalado asegurate que esté actualizado ejecutando `comp
Teniendo Composer instalado, puedes instalar Yii ejecutando los siguientes comandos en un directorio accesible vía Web: Teniendo Composer instalado, puedes instalar Yii ejecutando los siguientes comandos en un directorio accesible vía Web:
Nota: es posible que en al ejecutar el primer comando te pida tu username Nota: es posible que en al ejecutar el primer comando te pida tu username
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
El comando anterior instala Yii dentro del directorio `basic`. El comando anterior instala Yii dentro del directorio `basic`.
......
...@@ -27,7 +27,7 @@ Se hai già Composer installato assicurati di avere una versione aggiornata. Puo ...@@ -27,7 +27,7 @@ Se hai già Composer installato assicurati di avere una versione aggiornata. Puo
Una volta installato Composer, puoi installare Yii eseguendo questo comando in una directory accessbile via web: Una volta installato Composer, puoi installare Yii eseguendo questo comando in una directory accessbile via web:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Il primo comando installa il [plugin composer asset](https://github.com/francoispluchino/composer-asset-plugin/) Il primo comando installa il [plugin composer asset](https://github.com/francoispluchino/composer-asset-plugin/)
......
...@@ -25,7 +25,7 @@ Composer 縺ッ `composer self-update` 繧ウ繝槭Φ繝峨r襍ー繧峨○縺ヲ繧「繝繝繝 ...@@ -25,7 +25,7 @@ Composer 縺ッ `composer self-update` 繧ウ繝槭Φ繝峨r襍ー繧峨○縺ヲ繧「繝繝繝
Composer がインストールされたら、ウェブからアクセスできるフォルダーで下記のコマンドを実行することによって Yii をインストールすることが出来ます: Composer がインストールされたら、ウェブからアクセスできるフォルダーで下記のコマンドを実行することによって Yii をインストールすることが出来ます:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
最初のコマンドは [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) をインストールします。 最初のコマンドは [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) をインストールします。
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
После установки Composer устанавливать Yii можно запустив следующую команду в папке доступной через веб: После установки Composer устанавливать Yii можно запустив следующую команду в папке доступной через веб:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Первая команда устанавливает [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/), Первая команда устанавливает [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/),
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
Если Composer установлен, вы можете установить приложение используя следующие команды: Если Composer установлен, вы можете установить приложение используя следующие команды:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
Первая команда установит плагин [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/), Первая команда установит плагин [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/),
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
Composer 安装后,切换到一个可通过 Web 访问的目录,执行如下命令即可安装 Yii : Composer 安装后,切换到一个可通过 Web 访问的目录,执行如下命令即可安装 Yii :
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
第一条命令安装 [Composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/),它是通过 Composer 管理 bower 和 npm 包所必须的,此命令全局生效,一劳永逸。 第一条命令安装 [Composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/),它是通过 Composer 管理 bower 和 npm 包所必须的,此命令全局生效,一劳永逸。
......
...@@ -17,7 +17,7 @@ If you do not have [Composer](http://getcomposer.org/), follow the instructions ...@@ -17,7 +17,7 @@ If you do not have [Composer](http://getcomposer.org/), follow the instructions
With Composer installed, you can then install the application using the following commands: With Composer installed, you can then install the application using the following commands:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/)
......
...@@ -50,6 +50,6 @@ Use the Template ...@@ -50,6 +50,6 @@ Use the Template
That's all that's required to create a new Yii application template. Now you can create projects using your template: That's all that's required to create a new Yii application template. Now you can create projects using your template:
``` ```
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project
``` ```
...@@ -82,7 +82,7 @@ take two steps: install Yii, and bootstrap Yii. ...@@ -82,7 +82,7 @@ take two steps: install Yii, and bootstrap Yii.
If the third-party system uses Composer to manage its dependencies, you can simply run the following commands If the third-party system uses Composer to manage its dependencies, you can simply run the following commands
to install Yii: to install Yii:
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer require "yiisoft/yii2:*" composer require "yiisoft/yii2:*"
composer install composer install
......
...@@ -12,7 +12,7 @@ The preferred way to install the Yii framework is through [composer](http://getc ...@@ -12,7 +12,7 @@ The preferred way to install the Yii framework is through [composer](http://getc
Either run Either run
``` ```
composer global require "fxp/composer-asset-plugin:1.0.0-beta3" composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
composer require --prefer-dist "yiisoft/yii2 *" composer require --prefer-dist "yiisoft/yii2 *"
``` ```
......
...@@ -55,7 +55,7 @@ Upgrade from Yii 2.0 Beta ...@@ -55,7 +55,7 @@ Upgrade from Yii 2.0 Beta
the composer-asset-plugin, *before* you update your project: the composer-asset-plugin, *before* you update your project:
``` ```
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta3" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta4"
``` ```
You also need to add the following code to your project's `composer.json` file: You also need to add the following code to your project's `composer.json` file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment