mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-16 23:39:24 +08:00
Update init.sh
not overwrite
This commit is contained in:
parent
e3798865a7
commit
b85850c9db
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# 初始化 laravel
|
# 初始化 laravel
|
||||||
cd /app/api && composer install && cp .env.example .env && php artisan key:generate && php artisan migrate --seed
|
cd /app/api && composer install && cp -n .env.example .env && php artisan key:generate && php artisan migrate --seed
|
||||||
|
|
||||||
chmod -R 0777 /app/api/storage
|
chmod -R 0777 /app/api/storage
|
||||||
chmod -R 0777 /app/api/bootstrap/cache/
|
chmod -R 0777 /app/api/bootstrap/cache/
|
||||||
|
Loading…
Reference in New Issue
Block a user