From ed7229c77c3a4c54e861ebc23a9171e5a1de528a Mon Sep 17 00:00:00 2001 From: lancecoder Date: Wed, 14 Aug 2013 12:28:01 +0000 Subject: [PATCH] Update apps-basic.md update path document root --- docs/guide/apps-basic.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/guide/apps-basic.md b/docs/guide/apps-basic.md index de2fa3c..b8440a2 100644 --- a/docs/guide/apps-basic.md +++ b/docs/guide/apps-basic.md @@ -20,11 +20,10 @@ 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-app-basic yii-basic +php composer.phar create-project --stability=dev yiisoft/yii2-app-basic /path/to/yii-application ~~~ -Now you should be able to access the application using the URL `http://localhost/yii-basic/web/`, -assuming `yii-basic` is directly under the document root of your Web server. +Now set document root directory of your Web server to /path/to/yii-application/web and you should be able to access the application using the URL `http://localhost/`. Directory structure ------------------- @@ -158,4 +157,4 @@ For example, to use markdown helper you need to add `michelf/php-markdown`. All [packagist.org](https://packagist.org/) so feel free to browse the website for useful code. After your `composer.json` is changed you can run `php composer.phar update`, wait till packages are downloaded and -installed and then just use them. Autoloading of classes will be handled automatically. \ No newline at end of file +installed and then just use them. Autoloading of classes will be handled automatically.