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: DOCKER-SAIL.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,42 +2,42 @@
2
2
3
3
# Clone the project
4
4
5
-
git clone https://github.com/daniel-cintra/modular-demo.git && cd modular-demo
5
+
`git clone https://github.com/daniel-cintra/modular-demo.git && cd modular-demo`
6
6
7
7
# Create the .env file
8
8
9
-
mv .env.example .env
9
+
`mv .env.example .env`
10
10
11
11
# Install the dependencies
12
12
13
+
```bash
13
14
docker run --rm \
14
15
-u "$(id -u):$(id -g)" \
15
16
-v "$(pwd):/var/www/html" \
16
17
-w /var/www/html \
17
18
laravelsail/php84-composer:latest \
18
19
composer install
20
+
```
19
21
20
22
# Sail scaffolding install
21
23
24
+
```bash
22
25
docker run --rm \
23
26
-u "$(id -u):$(id -g)" \
24
27
-v "$(pwd):/var/www/html" \
25
28
-w /var/www/html \
26
29
laravelsail/php84-composer:latest \
27
30
php artisan sail:install
31
+
```
28
32
29
33
# Start sail
30
34
31
-
./vendor/bin/sail up -d
35
+
`./vendor/bin/sail up -d`
32
36
33
37
# SSH into the container
34
38
35
-
./vendor/bin/sail shell
39
+
`./vendor/bin/sail shell`
36
40
37
41
# Follow the install instructions normally
38
42
39
43
Logged in the container, as mentioned in the previous step. Follow the [installation instructions](/README.md) normally, starting at the step `php artisan key:generate`.
0 commit comments