Commit e2593ab5 authored by Mahmoud Zalt's avatar Mahmoud Zalt

make submodule add optional in the docs

parent 4f9271d5
......@@ -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 submodule add https://github.com/LaraDock/laradock.git docker
git clone https://github.com/LaraDock/laradock.git docker
```
>This should create a `docker` folder, on the root directory of your Laravel project.
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
```
>These commands should create a `docker` folder, on the root directory of your Laravel project.
<a name="Usage"></a>
......
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