Skip to content

Commit c02c681

Browse files
Update README and composer.json to include symlink creation and storage link command
1 parent ae6b11e commit c02c681

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ Rekomendasi shared hosting murah:
5555
```bash
5656
git clone https://github.com/laravelwebdev/simpede.git .
5757
```
58+
- Buat symlink dari public_html
59+
```bash
60+
ln -s public public_html
61+
```
62+
5863
- Update dependencies (gunakan composer2):
5964
```bash
6065
composer2 update --no-dev
@@ -81,20 +86,8 @@ Rekomendasi shared hosting murah:
8186
```bash
8287
php artisan migrate --seed
8388
```
84-
- Buat symlink dari public_html
85-
```bash
86-
ln -s public public_html
87-
```
88-
89-
- Jalankan command:
90-
```bash
91-
php artisan storage:link
92-
```
93-
- Jalankan command:
94-
```bash
95-
php artisan optimize
96-
```
9789

90+
9891
## Maintenance Mode
9992

10093
- Untuk menampilkan website sedang dalam kondisi Maintenance jalankan command berikut:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
5959
"@php artisan nova:publish --ansi",
6060
"@php artisan optimize:clear",
61-
"@php artisan optimize"
61+
"@php artisan optimize",
62+
"@php artisan storage:link"
6263
],
6364
"post-root-package-install": [
6465
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""

0 commit comments

Comments
 (0)