Skip to content

Commit

Permalink
Fixed wrong instruction.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Sep 17, 2014
1 parent 999a39d commit b1bb796
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ addons:

install:
- composer self-update && composer --version
- composer global require "fxp/composer-asset-plugin:~1.0"
- composer global require "fxp/composer-asset-plugin:1.0.*@dev"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework:
- composer install --prefer-dist
Expand Down
2 changes: 1 addition & 1 deletion apps/advanced/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
You can then install the application using the following command:

~~~
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
~~~

Expand Down
2 changes: 1 addition & 1 deletion apps/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

~~~
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
~~~

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/start-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ problems or want to learn more about Composer usage.

With Composer installed, you can install Yii by running the following commands under a Web-accessible folder:

composer global require "fxp/composer-asset-plugin:~1.0"
composer global require "fxp/composer-asset-plugin:1.0.*@dev"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic

The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/)
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/tutorial-advanced-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ curl -sS http://getcomposer.org/installer | php
You can then install the application using the following command:

~~~
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced /path/to/yii-application
~~~

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/tutorial-start-from-scratch.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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:

```
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
php composer.phar create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project
```
15 changes: 13 additions & 2 deletions framework/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,22 @@ for both A and B.
Upgrade from Yii 2.0 Beta
-------------------------

* If you are using Composer to install Yii, you should run the following command first (once for all) to install
* If you are using Composer to upgrade Yii, you should run the following command first (once for all) to install
the composer-asset-plugin:

```
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
```

You also need to add the following code to your project's `composer.json` file:

```json
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
```

* If you used `clearAll()` or `clearAllAssignments()` of `yii\rbac\DbManager`, you should replace
Expand Down

0 comments on commit b1bb796

Please sign in to comment.