Commit 75c54507 by Qiang Xue

updated the README file of the bootstrap app.

parent e8a824cc
Yii 2 Bootstrap Application Yii 2 Bootstrap Application
=========================== ===========================
** NOTE ** Yii 2 and the relevant applications and extensions are still under heavy **NOTE** Yii 2 and the relevant applications and extensions are still under heavy
development. We may make significant changes without prior notices. Please do not development. We may make significant changes without prior notices. Please do not
use them for production. Please consider using [Yii v1.1](https://github.com/yiisoft/yii) use them for production. Please consider using [Yii v1.1](https://github.com/yiisoft/yii)
which is production ready. if you have a project to be deployed for production soon.
Thank you for choosing Yii 2 - the new generation of high-performance PHP framework. Thank you for choosing Yii 2 - the new generation of high-performance PHP framework.
...@@ -37,4 +37,25 @@ The minimum requirement by Yii is that your Web server supports PHP 5.3.?. ...@@ -37,4 +37,25 @@ The minimum requirement by Yii is that your Web server supports PHP 5.3.?.
INSTALLATION INSTALLATION
------------ ------------
### Install via Composer
If you do not have [Composer](http://getcomposer.org/), you may download it from
[http://getcomposer.org/](http://getcomposer.org/) or run the following command on Linux/Unix/MacOS:
~~~
curl -s http://getcomposer.org/installer | php
~~~
You can then install the Bootstrap Application using the following command:
~~~
php composer.phar create-project --stability=dev yiisoft/yii2-bootstrap bootstrap
~~~
Now you should be able to access the Bootstrap Application using the URL `http://localhost/bootstrap/www/`,
assuming `bootstrap` is directly under the document root of your Web server.
### Install from an Archive File
This is not currently available. We will provide it when Yii 2 is formally released.
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