mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-15 06:49:24 +08:00
17 lines
363 B
Bash
17 lines
363 B
Bash
#!/bin/bash
|
|
|
|
# 初始化 laravel
|
|
cd /app/api && composer install && cp -n .env.example .env && php artisan key:generate && php artisan migrate --seed
|
|
|
|
mkdir -p /app/api/storage
|
|
chmod -R 0777 /app/api/storage
|
|
|
|
mkdir -p /app/api/bootstrap/cache/
|
|
chmod -R 0777 /app/api/bootstrap/cache/
|
|
|
|
|
|
|
|
# 启动 proxy
|
|
# 已经设置为 deamon
|
|
# cd /app/proxy && ./server-linux &
|