make submodule add optional in the docs
This commit is contained in:
parent
4f9271d565
commit
e2593ab522
11
README.md
11
README.md
@ -87,14 +87,19 @@ The Images links on [Docker Hub](https://hub.docker.com/u/laradock/)
|
|||||||
<a name="Installation"></a>
|
<a name="Installation"></a>
|
||||||
## Installation
|
## 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
|
```bash
|
||||||
git submodule add https://github.com/LaraDock/laradock.git docker
|
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>
|
<a name="Usage"></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user