Skip to content

Commit

Permalink
doc更新
Browse files Browse the repository at this point in the history
  • Loading branch information
landy committed Apr 23, 2020
1 parent 0699fb1 commit 0b40c44
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@
- 启动后,访问 `http://localhost:8080`
- 查看日志 `docker-compose logs -f server`

> 新版本中将不再使用H2位docker的默认数据库
> 新版本中将不再使用H2为docker的默认数据库
> docker 默认使用镜像运行, 如有二次开发, 请切换为编译安装
- 停止服务 `docker-compose down`
- 进入容器 `docker exec -it {containerId} /bin/bash`

> docker-compose up会优先使用已有的容器,而不是重新创建容器
> docker-compose up -d --force-recreate 使用 --force-recreate 可以强制重建容器 (否则只能在容器配置有更改时才会重建容器)
14 changes: 12 additions & 2 deletions docs/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@
现支持的第三方登录有: QQ、微博、Github

一、QQ登录
- 回调地址: http://{domain}/oauth/callback/qq
- APP ID:
- APP KEY

一、微博登录
QQ互联侧:
网站回调域: http://{domain}/oauth/callback/qq

一、微博登录
- 回调地址: http://{domain}/oauth/callback/weibo
- APP ID:
- APP KEY
一、Github登录

- 回调地址: http://{domain}/oauth/callback/github
- APP ID:
- APP KEY

等有时间再来补充

0 comments on commit 0b40c44

Please sign in to comment.