pushdeer/docker/web/init.sh
2021-12-23 00:19:55 +08:00

13 lines
297 B
Bash

#!/bin/bash
# 初始化 laravel
cd /app/api && composer install && cp .env.example .env && php artisan key:generate && php artisan migrate --seed
chmod -R 0777 /app/api/storage
chmod -R 0777 /app/api/bootstrap/cache/
# 启动 proxy
# 已经设置为 deamon
# cd /app/proxy && ./server-linux &