Skip to content

Commit

Permalink
chore-优化系统初始化时的一些提示
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Nov 9, 2024
1 parent d98d0cf commit 7382cb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ docker compose up -d
或者 docker 命令:
`docker run --rm -p 54324:5432 -e POSTGRES_PASSWORD=muyun2024 -e POSTGRES_DB=muyun postgres:17-alpine`

后端开发环境启动:
后端开发环境启动(首次启动会引导你设置管理员账号密码)

```shell
./gradlew --console=plain :muyun-boot:quarkusDev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ protected void afterInit() {

Scanner scanner = new Scanner(System.in);

adminUsername = promptForInput(scanner, "Admin Username: ");
adminPassword = promptForInput(scanner, "Admin Password: ");
adminUsername = promptForInput(scanner, "Please create a username for the administrator account (e.g., admin): ");
adminPassword = promptForInput(scanner, "Please create a secure password for the administrator account: ");
} else {
logger.info("USE ENVIRONMENT INFORMATION");
logger.info("ADMIN USERNAME: {}", adminUsername);
Expand Down

0 comments on commit 7382cb2

Please sign in to comment.