浏览代码

updated docs added installation from dev repo section

Tobias Munk 12 年之前
父节点
当前提交
6ac6ecd000
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      README.md

+ 15 - 0
README.md

@@ -59,3 +59,18 @@ assuming `yii-basic` 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.
+
+
+### Install from development repository
+
+If you've cloned the [Yii 2 framework main development reop](https://github.com/yiisoft/yii2) you
+can bootstrap your application with:
+
+~~~
+cd yii2/apps/basic
+php composer.phar create-project
+~~~
+
+*Note: If the above command fails with `[RuntimeException] Not enough arguments.` run
+`php composer.phar self-update` to obtain an updated version of composer which supports creating projects
+from local packages.*