Skip to content

Commit 59f258c

Browse files
authored
Merge pull request #201 from Korov/master
perf:thin install command && update docker compose config
2 parents dd8ee73 + 28c54cf commit 59f258c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker-compose/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ services:
4343

4444
mysql-init:
4545
image: mysql:5.7
46+
container_name: sc-mysql-init
4647
command: /init-db.sh
4748
networks:
4849
- sc-net
@@ -53,6 +54,8 @@ services:
5354
- ./init-db.sh:/init-db.sh
5455
environment:
5556
MYSQL_ROOT_PASSWORD: root123
57+
depends_on:
58+
- mysql
5659

5760
networks:
5861
sc-net:

readme.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ linux和mac下可在项目根目录下执行 `./install.sh` 快速搭建开发
2222

2323
2. 安装公共库到本地仓库:
2424

25-
`cd common && mvn install`
26-
27-
`cd auth/authentication-client && mvn install`
25+
`mvn -pl ./common,./auth/authentication-client install`
2826

2927
3. 生成ide配置: `mvn idea:idea``mvn eclipse:eclipse` 并导入对应的ide进行开发,IDE安装lombok插件(很重要,否则IDE会显示编译报错)
3028

0 commit comments

Comments
 (0)