Commit 35312c5c by Qiang Xue

Merge pull request #3967 from SanderLi/patch-1

Update getting-started.md
parents 56fde4a5 3e929567
...@@ -4,7 +4,7 @@ Getting started with Yii2 development ...@@ -4,7 +4,7 @@ Getting started with Yii2 development
The best way to have a locally runnable webapp that uses codebase cloned from main repository is to use `yii2-dev` The best way to have a locally runnable webapp that uses codebase cloned from main repository is to use `yii2-dev`
Composer package. Here's how to do it: Composer package. Here's how to do it:
1. `git clone git@github.com:yiisoft/yii2-app-basic.git`. 1. `git clone https://github.com/yiisoft/yii2-app-basic`.
2. Remove `.git` directory from cloned directory. 2. Remove `.git` directory from cloned directory.
3. Change `composer.json`. Instead of all stable requirements add just one `"yiisoft/yii2-dev": "*"`. 3. Change `composer.json`. Instead of all stable requirements add just one `"yiisoft/yii2-dev": "*"`.
4. Execute `composer create-project`. Do not add `--prefer-dist` to the command since it will not download git repository 4. Execute `composer create-project`. Do not add `--prefer-dist` to the command since it will not download git repository
......
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