|
@@ -41,7 +41,7 @@ git submodule add https://github.com/Laradock/laradock.git
|
|
|
|
|
|
Note: If you are not using Git yet for your project, you can use `git clone` instead of `git submodule `.
|
|
|
|
|
|
-*To keep track of your Laradock changes, between your projects and also keep Laradock updated [check this docs](/documentation/#keep-track-of-your-laradock-changes)*
|
|
|
+*To keep track of your Laradock changes, between your projects and also keep Laradock updated [check these docs](/documentation/#keep-track-of-your-laradock-changes)*
|
|
|
|
|
|
|
|
|
Your folder structure should look like this:
|
|
@@ -75,15 +75,19 @@ Your folder structure should look like this:
|
|
|
|
|
|
2 - Edit your web server sites configuration.
|
|
|
|
|
|
-**NGINX Example:**
|
|
|
+We'll need to do step 1 of the [Usage](#Usage) section now to make this happen.
|
|
|
|
|
|
-Open `nginx/sites/default.conf` and change the `root` from `/var/www/public` to `/var/www/{my-project-folder-name}/public`.
|
|
|
-
|
|
|
-*Or you can keep `default.conf` as it is, and create a separate config `my-site.conf` file for it.*
|
|
|
+```
|
|
|
+cp env-example .env
|
|
|
+```
|
|
|
|
|
|
+At the top, change the `APPLICATION` variable to your project path.
|
|
|
|
|
|
-<br>
|
|
|
+```
|
|
|
+APPLICATION=../project-z/public/
|
|
|
+```
|
|
|
|
|
|
+Make sure to replace `project-z` with your project folder name.
|
|
|
|
|
|
> **Now jump to the [Usage](#Usage) section.**
|
|
|
|
|
@@ -145,7 +149,7 @@ If you are using **Docker Toolbox** (VM), do one of the following:
|
|
|
|
|
|
<br>
|
|
|
|
|
|
-1 - Enter the laradock folder and rename `env-example` to `.env`
|
|
|
+1 - Enter the laradock folder and copy `env-example` to `.env`
|
|
|
|
|
|
```shell
|
|
|
cp env-example .env
|