This commit is contained in:
GuesWhoAmI 2019-10-31 14:45:53 +08:00
parent e4b02be7a2
commit d30faa5a60
3 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ npm-debug.log
yarn-error.log
composer.phar
yarn.lock
docker-compose.yml

View File

@ -25,6 +25,7 @@
---
## Docker 环境部署
> 首先 `cp docker-compose.yml.example docker-compose.yml` 选择性修改
1. 执行 `docker-compose run --rm db` 进入 docker 容器
2. 从 `install.sql` 文件中恢复表后退出容器,执行 `docker-compose down`
3. 执行 `cp .env.example .env` 然后配置它