Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02fb7e7

Browse files
committed
Updates README
1 parent2ac5172 commit02fb7e7

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

‎README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ A pretty simplified docker-compose workflow that sets up a LEMP network of conta
44

55
##Usage
66

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.
88

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.
1010

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:
1218

1319
-**nginx** -`:8080`
1420
-**mysql** -`:3306`
15-
-**php** -`:9000`
21+
-**php** -`:9000`
22+
-**npm**
23+
-**composer**
24+
-**artisan**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp