Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
d4fac33f
Commit
d4fac33f
authored
Oct 12, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5509.
parent
47f22726
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
.travis.yml
.travis.yml
+1
-1
README.md
apps/advanced/README.md
+1
-1
README.md
apps/basic/README.md
+1
-1
start-installation.md
docs/guide-zh-CN/start-installation.md
+1
-1
start-installation.md
docs/guide/start-installation.md
+1
-1
tutorial-advanced-app.md
docs/guide/tutorial-advanced-app.md
+1
-1
tutorial-start-from-scratch.md
docs/guide/tutorial-start-from-scratch.md
+1
-1
README.md
framework/README.md
+1
-1
UPGRADE.md
framework/UPGRADE.md
+1
-1
No files found.
.travis.yml
View file @
d4fac33f
...
@@ -38,7 +38,7 @@ addons:
...
@@ -38,7 +38,7 @@ addons:
install
:
install
:
-
composer self-update && composer --version
-
composer self-update && composer --version
-
composer global require "fxp/composer-asset-plugin:1.0.0-beta
2
"
-
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
-
export PATH="$HOME/.composer/vendor/bin:$PATH"
-
export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework:
# core framework:
-
composer install --prefer-dist
-
composer install --prefer-dist
...
...
apps/advanced/README.md
View file @
d4fac33f
...
@@ -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-beta
2
"
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
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
~~~
~~~
...
...
apps/basic/README.md
View file @
d4fac33f
...
@@ -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-beta
2
"
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
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
~~~
~~~
...
...
docs/guide-zh-CN/start-installation.md
View file @
d4fac33f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
Composer 安装后,切换到一个可通过 Web 访问的目录,执行如下命令即可安装 Yii :
Composer 安装后,切换到一个可通过 Web 访问的目录,执行如下命令即可安装 Yii :
composer global require "fxp/composer-asset-plugin:1.0.0-beta
2
"
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
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 包所必须的,此命令全局应用,只需执行一次即可。
...
...
docs/guide/start-installation.md
View file @
d4fac33f
...
@@ -26,7 +26,7 @@ by running `composer self-update`.
...
@@ -26,7 +26,7 @@ by running `composer self-update`.
With Composer installed, you can install Yii by running the following commands under a Web-accessible folder:
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.0-beta
2
"
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
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/
)
The first command installs the
[
composer asset plugin
](
https://github.com/francoispluchino/composer-asset-plugin/
)
...
...
docs/guide/tutorial-advanced-app.md
View file @
d4fac33f
...
@@ -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-beta
2
"
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced yii-application
composer create-project --prefer-dist --stability=dev 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/
)
...
...
docs/guide/tutorial-start-from-scratch.md
View file @
d4fac33f
...
@@ -48,6 +48,6 @@ Use the Template
...
@@ -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:
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-beta
2
"
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
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
```
```
framework/README.md
View file @
d4fac33f
...
@@ -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-beta
2
"
composer global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
composer require --prefer-dist "yiisoft/yii2 *"
composer require --prefer-dist "yiisoft/yii2 *"
```
```
...
...
framework/UPGRADE.md
View file @
d4fac33f
...
@@ -44,7 +44,7 @@ Upgrade from Yii 2.0 Beta
...
@@ -44,7 +44,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-beta
2
"
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta
3
"
```
```
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment