Skip to content

Commit cce925e

Browse files
committed
Formats documentation
1 parent cc72881 commit cce925e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

DOCKER-SAIL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22

33
# Clone the project
44

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`
66

77
# Create the .env file
88

9-
mv .env.example .env
9+
`mv .env.example .env`
1010

1111
# Install the dependencies
1212

13+
```bash
1314
docker run --rm \
1415
-u "$(id -u):$(id -g)" \
1516
-v "$(pwd):/var/www/html" \
1617
-w /var/www/html \
1718
laravelsail/php84-composer:latest \
1819
composer install
20+
```
1921

2022
# Sail scaffolding install
2123

24+
```bash
2225
docker run --rm \
2326
-u "$(id -u):$(id -g)" \
2427
-v "$(pwd):/var/www/html" \
2528
-w /var/www/html \
2629
laravelsail/php84-composer:latest \
2730
php artisan sail:install
31+
```
2832

2933
# Start sail
3034

31-
./vendor/bin/sail up -d
35+
`./vendor/bin/sail up -d`
3236

3337
# SSH into the container
3438

35-
./vendor/bin/sail shell
39+
`./vendor/bin/sail shell`
3640

3741
# Follow the install instructions normally
3842

3943
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`.
40-
41-
# verificar necessidade
42-
43-
chmod 664 /var/www/html/database/database.sqlite

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ And the Blog Demo PreviewApp at [https://demo.ismodular.com/blog](https://demo.i
3434

3535
## Installation
3636

37-
If you want to use Docker/Sail, please follow the [installation instructions](/DOCKER-SAIL.md) first. Otherwise, follow the instructions below.
37+
If you want to use Docker/Sail, please follow the [Laravel Sail instructions](/DOCKER-SAIL.md) before following the instructions below.
3838

3939
Clone the repo locally:
4040

0 commit comments

Comments
 (0)