From 75c54507b9b78b2211f509639eb43eccb9ecf622 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 19 May 2013 16:25:27 -0400 Subject: [PATCH] updated the README file of the bootstrap app. --- apps/bootstrap/README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/apps/bootstrap/README.md b/apps/bootstrap/README.md index 63c3f29..a1376ba 100644 --- a/apps/bootstrap/README.md +++ b/apps/bootstrap/README.md @@ -1,10 +1,10 @@ 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 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. @@ -37,4 +37,25 @@ The minimum requirement by Yii is that your Web server supports PHP 5.3.?. 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.