make submodule add optional in the docs

This commit is contained in:
Mahmoud Zalt 2016-04-22 17:35:11 +03:00
parent 4f9271d565
commit e2593ab522

View File

@ -87,14 +87,19 @@ The Images links on [Docker Hub](https://hub.docker.com/u/laradock/)
<a name="Installation"></a>
## Installation
1 - Clone the `LaraDock` repository, in any of your `Laravel` projects *(using this command)*:
1 - Clone the `LaraDock` repository, in any of your `Laravel` projects:
```bash
git clone https://github.com/LaraDock/laradock.git docker
```
Instead of `git clone` you can use `git submodule add` in case you are already using Git for your Laravel project *(Recommended)*:
```bash
git submodule add https://github.com/LaraDock/laradock.git docker
```
>This should create a `docker` folder, on the root directory of your Laravel project.
>These commands should create a `docker` folder, on the root directory of your Laravel project.
<a name="Usage"></a>