You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_settings/content/contributing/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Your contribution is more than welcome.
9
9
10
10
## Got a Question or Problem?
11
11
12
-
If you have questions about how to use LaraDock, please direct your questions to the discussion on [Gitter](https://gitter.im/LaraDock/laradock). If you believe your question could help others, then consider opening an [Issue](https://github.com/laradock/laradock/issues) (it will be labeled as Question).
12
+
If you have questions about how to use Laradock, please direct your questions to the discussion on [Gitter](https://gitter.im/Laradock/laradock). If you believe your question could help others, then consider opening an [Issue](https://github.com/laradock/laradock/issues) (it will be labeled as Question).
13
13
14
14
## Found an Issue?
15
15
If you find a bug in the source code or a mistake in the documentation, you can help us by
@@ -62,7 +62,7 @@ Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Ma
62
62
* Edit the files you want to update.
63
63
64
64
***Note:** If you want to edit the base image of the `Workspace` or the `php-fpm` Containers,
65
-
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.
65
+
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the Laradock repository.
66
66
67
67
* Make sure to update the `Readme` in case you made any changes.
Copy file name to clipboardExpand all lines: docs/_settings/content/documentation/index.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,7 +329,7 @@ For information on how to configure xDebug with your IDE and work it out, check
329
329
330
330
By installing xDebug, you are enabling it to run on startup by default.
331
331
332
-
To control the behavior of xDebug (in the `php-fpm` Container), you can run the following commands from the LaraDock root folder, (at the same prompt where you run docker-compose):
332
+
To control the behavior of xDebug (in the `php-fpm` Container), you can run the following commands from the Laradock root folder, (at the same prompt where you run docker-compose):
333
333
334
334
- Stop xDebug from running by default: `./xdebugPhpFpm stop`.
335
335
- Start xDebug by default: `./xdebugPhpFpm start`.
@@ -381,10 +381,10 @@ It should be like this:
381
381
382
382
383
383
<br>
384
-
<aname="LaraDock-for-Production"></a>
385
-
## Prepare LaraDock for Production
384
+
<aname="Laradock-for-Production"></a>
385
+
## Prepare Laradock for Production
386
386
387
-
It's recommended for production to create a custom `docker-compose.yml` file. For that reason, LaraDock is shipped with `production-docker-compose.yml` which should contain only the containers you are planning to run on production (usage example: `docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...`).
387
+
It's recommended for production to create a custom `docker-compose.yml` file. For that reason, Laradock is shipped with `production-docker-compose.yml` which should contain only the containers you are planning to run on production (usage example: `docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...`).
388
388
389
389
Note: The Database (MySQL/MariaDB/...) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:
390
390
@@ -439,7 +439,7 @@ For more about the Laravel installation click [here](https://laravel.com/docs/ma
439
439
440
440
3 - Edit `docker-compose.yml` to Map the new application path:
441
441
442
-
By default, LaraDock assumes the Laravel application is living in the parent directory of the laradock folder.
442
+
By default, Laradock assumes the Laravel application is living in the parent directory of the laradock folder.
443
443
444
444
Since the new Laravel application is in the `my-cool-app` folder, we need to replace `../:/var/www` with `../my-cool-app/:/var/www`, as follow:
445
445
@@ -456,7 +456,7 @@ Since the new Laravel application is in the `my-cool-app` folder, we need to rep
456
456
cd my-cool-app
457
457
```
458
458
459
-
5 - Go back to the LaraDock installation steps to see how to edit the `.env` file.
459
+
5 - Go back to the Laradock installation steps to see how to edit the `.env` file.
To install CodeIgniter 3 on LaraDock all you have to do is the following simple steps:
896
+
To install CodeIgniter 3 on Laradock all you have to do is the following simple steps:
897
897
898
898
1 - Open the `docker-compose.yml` file.
899
899
@@ -1198,7 +1198,7 @@ It should be like this:
1198
1198
<aname="Common-Aliases"></a>
1199
1199
<br>
1200
1200
## Common Terminal Aliases
1201
-
When you start your docker container, LaraDock will copy the `aliases.sh` file located in the `laradock/workspace` directory and add sourcing to the container `~/.bashrc` file.
1201
+
When you start your docker container, Laradock will copy the `aliases.sh` file located in the `laradock/workspace` directory and add sourcing to the container `~/.bashrc` file.
1202
1202
1203
1203
You are free to modify the `aliases.sh` as you see fit, adding your own aliases (or function macros) to suit your requirements.
1204
1204
@@ -1292,10 +1292,10 @@ Remote debug Laravel web and phpunit tests.
1292
1292
1293
1293
1294
1294
<br>
1295
-
<aname="keep-tracking-LaraDock"></a>
1296
-
## Keep track of your LaraDock changes
1295
+
<aname="keep-tracking-Laradock"></a>
1296
+
## Keep track of your Laradock changes
1297
1297
1298
-
1. Fork the LaraDock repository.
1298
+
1. Fork the Laradock repository.
1299
1299
2. Use that fork as a submodule.
1300
1300
3. Commit all your changes to your fork.
1301
1301
4. Pull new stuff from the main repository from time to time.
@@ -1308,14 +1308,14 @@ Remote debug Laravel web and phpunit tests.
1308
1308
1309
1309
<br>
1310
1310
<aname="upgrading-laradock"></a>
1311
-
## Upgrading LaraDock
1311
+
## Upgrading Laradock
1312
1312
1313
-
Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading LaraDock from v3.* to v4.*:
1313
+
Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading Laradock from v3.* to v4.*:
1314
1314
1315
1315
1. Stop the docker VM `docker-machine stop {default}`
1316
1316
2. Install Docker for [Mac](https://docs.docker.com/docker-for-mac/) or [Windows](https://docs.docker.com/docker-for-windows/).
1317
-
3. Upgrade LaraDock to `v4.*.*` (`git pull origin master`)
1318
-
4. Use LaraDock as you used to do: `docker-compose up -d nginx mysql`.
1317
+
3. Upgrade Laradock to `v4.*.*` (`git pull origin master`)
1318
+
4. Use Laradock as you used to do: `docker-compose up -d nginx mysql`.
1319
1319
1320
1320
**Note:** If you face any problem with the last step above: rebuild all your containers
1321
1321
`docker-compose build --no-cache`
@@ -1454,4 +1454,4 @@ This error sometimes happens because your Laravel application isn't running on t
1454
1454
1. Check your running Laravel application IP by dumping `Request::ip()` variable using `dd(Request::ip())` anywhere on your application. The result is the IP of your Laravel container.
1455
1455
2. Change the `DB_HOST` variable on env with the IP that you received from previous step.
1456
1456
* Option B
1457
-
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The LaraDock docker-compose file currently has this as `mysql`
1457
+
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The Laradock docker-compose file currently has this as `mysql`
2 - Edit the `docker-compose.yml` file to map to your projects directories:
96
+
2 - Edit the `docker-compose.yml`(or the `.env`) file to map to your projects directories:
81
97
82
98
```
83
99
applications:
84
-
image: tianon/true
85
100
volumes:
86
101
- ../project1/:/var/www/project1
87
102
- ../project2/:/var/www/project2
@@ -120,12 +135,12 @@ Do the same for each project `project2.conf`, `project3.conf`,...
120
135
121
136
If you are using **Docker Toolbox** (VM), do one of the following:
122
137
123
-
- Upgrade to Docker [Native](https://www.docker.com/products/docker) for Mac/Windows (Recommended). Check out [Upgrading LaraDock](#upgrading-laradock)
124
-
- Use LaraDock v3.* (Visit the `LaraDock-ToolBox`[Branch](https://github.com/laradock/laradock/tree/LaraDock-ToolBox)).
138
+
- Upgrade to Docker [Native](https://www.docker.com/products/docker) for Mac/Windows (Recommended). Check out [Upgrading Laradock](#upgrading-laradock)
139
+
- Use Laradock v3.* (Visit the `Laradock-ToolBox`[Branch](https://github.com/laradock/laradock/tree/Laradock-ToolBox)).
125
140
126
141
<br>
127
142
128
-
>**Warning:** If you used an older version of LaraDock it's highly recommended to rebuild the containers you need to use [see how you rebuild a container](#Build-Re-build-Containers) in order to prevent errors as much as possible.
143
+
>**Warning:** If you used an older version of Laradock it's highly recommended to rebuild the containers you need to use [see how you rebuild a container](#Build-Re-build-Containers) in order to prevent as much errors as possible.
129
144
130
145
<br>
131
146
@@ -143,7 +158,9 @@ docker-compose up -d nginx mysql
143
158
144
159
You can select your own combination of Containers form the list below:
*(Please note that sometimes we forget to update the docs, so check the `docker-compose.yml` file to see an updated list of all available containers).*
147
164
148
165
149
166
<br>
@@ -159,7 +176,13 @@ Alternatively, for Windows PowerShell users: execute the following command to en
159
176
docker exec -it {workspace-container-id} bash
160
177
```
161
178
162
-
**Note:** You can add `--user=laradock` (example `docker-compose exec --user=laradock workspace bash`) to have files created as your host's user. (you can change the PUID (User id) and PGID (group id) variables from the `docker-compose.yml`).
179
+
**Note:** You can add `--user=laradock` to have files created as your host's user. Example:
Copy file name to clipboardExpand all lines: docs/_settings/content/help/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@ type: index
4
4
weight: 5
5
5
---
6
6
7
-
Join the chat room on [Gitter](https://gitter.im/LaraDock/laradock) and get help and support from the community.
7
+
Join the chat room on [Gitter](https://gitter.im/Laradock/laradock) and get help and support from the community.
8
8
9
-
You can as well can open an [issue](https://github.com/laradock/laradock/issues) on Github (will be labeled as Question) and discuss it with people on [Gitter](https://gitter.im/LaraDock/laradock).
9
+
You can as well can open an [issue](https://github.com/laradock/laradock/issues) on Github (will be labeled as Question) and discuss it with people on [Gitter](https://gitter.im/Laradock/laradock).
Copy file name to clipboardExpand all lines: docs/_settings/content/introduction/index.md
+25-16Lines changed: 25 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ type: index
4
4
weight: 1
5
5
---
6
6
7
-
LaraDock strives to make the PHP development experience easier and faster.
7
+
Laradock strives to make the PHP development experience easier and faster.
8
8
9
9
It contains pre-packaged Docker Images that provides you a wonderful *development* environment without requiring you to install PHP, NGINX, MySQL, Redis, and any other software on your machines.
10
10
11
-
LaraDock is configured to run Laravel Apps by default, and it can be modified to run all kinds of PHP Apps (Symfony, CodeIgniter, WordPress, Drupal...).
11
+
Laradock is configured to run Laravel Apps by default, and it can be modified to run all kinds of PHP Apps (Symfony, CodeIgniter, WordPress, Drupal...).
12
12
13
13
14
14
@@ -17,19 +17,25 @@ LaraDock is configured to run Laravel Apps by default, and it can be modified to
17
17
18
18
Let's see how easy it is to install `NGINX`, `PHP`, `Composer`, `MySQL`, `Redis` and `beanstalkd`:
2 - Enter the laradock folder and run this command:
26
+
2 - Enter the laradock folder and rename `env-example` to `.env`.
27
+
28
+
```shell
29
+
cp env-example .env
30
+
```
31
+
32
+
3 - Run your containers:
27
33
28
34
```shell
29
35
docker-compose up -d nginx mysql redis beanstalkd
30
36
```
31
37
32
-
3 - Open your `.env` file and set the following:
38
+
3 - Open your project's `.env` file and set the following:
33
39
34
40
```shell
35
41
DB_HOST=mysql
@@ -76,17 +82,17 @@ Most importantly Docker can run on Development and on Production (same environme
76
82
77
83
78
84
<a name="laradock-vs-homestead"></a>
79
-
## LaraDock VS Homestead (For Laravel Developers)
85
+
## Laradock VS Homestead (For Laravel Developers)
80
86
81
-
> LaraDock It's like Laravel Homestead but for Docker instead of Vagrant.
87
+
> Laradock It's like Laravel Homestead but for Docker instead of Vagrant.
82
88
83
-
LaraDock and [Homestead](https://laravel.com/docs/master/homestead) both give you complete virtual development environments. (Without the need to install and configure every single software on your own Operating System).
89
+
Laradock and [Homestead](https://laravel.com/docs/master/homestead) both give you complete virtual development environments. (Without the need to install and configure every single software on your own Operating System).
84
90
85
91
- Homestead is a tool that controls Vagrant for you (using Homestead special commands). And Vagrant manages your Virtual Machine.
86
92
87
-
- LaraDock is a tool that controls Docker for you (using Docker & Docker Compose official commands). And Docker manages your Virtual Containers.
93
+
- Laradock is a tool that controls Docker for you (using Docker & Docker Compose official commands). And Docker manages your Virtual Containers.
88
94
89
-
Running a virtual container is much faster than running a full virtual Machine. Thus **LaraDock is much faster than Homestead**.
95
+
Running a virtual container is much faster than running a full virtual Machine. Thus **Laradock is much faster than Homestead**.
90
96
91
97
92
98
@@ -100,10 +106,10 @@ Running a virtual container is much faster than running a full virtual Machine.
0 commit comments