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: README.md
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,21 @@ A pretty simplified docker-compose workflow that sets up a LEMP network of conta
4
4
5
5
##Usage
6
6
7
-
To get started, make sure you have[Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository. Add your entire Laravel project to the`src` folder, then open a terminal and from this cloned respository's root run`docker-compose build && docker-compose up -d`.
7
+
To get started, make sure you have[Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository.
8
8
9
-
Open up your browser of choice to[http://localhost:8080](http://localhost:8080) and you should see your Laravel app running as intended.
9
+
Add your entire Laravel project to the`src` folder, then open a terminal and from this cloned respository's root run`docker-compose up -d --build`.Open up your browser of choice to[http://localhost:8080](http://localhost:8080) and you should see your Laravel app running as intended.
10
10
11
-
Containers created and their ports are as follows:
11
+
**New:** Three new containers have been added that handle Composer, NPM, and Artisan commands without having to have these platforms installed on your local computer. Use the following command templates from your project root, modifiying them to fit your particular use case:
12
+
13
+
-`docker-compose run --rm composer update`
14
+
-`docker-compose run --rm npm run dev`
15
+
-`docker-compose run --rm artisan migrate`
16
+
17
+
Containers created and their ports (if used) are as follows: