# drinks-platform **Repository Path**: muxiuya/drinks-platform ## Basic Information - **Project Name**: drinks-platform - **Description**: spring boot 项目脚手架,仅供学习使用 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-30 - **Last Updated**: 2022-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Getting Started Springboot开发脚手架,仅用于教学,持续完善中。 ### 开发环境 1. git 2. jdk(>=1.8) 3. idea 4. docker(配置国内镜像加速) ### 如何使用 1. clone项目 如果你仅想查阅项目代码 ```shell git clone https://gitee.com/chantung/drinks-platform.git ``` 如果你想使用脚手架作为自己项目的开端,请先fork项目后,检出init标签。 ```shell git clone https://gitee.com/你的账号/drinks-platform.git # 可以在idea中操作 git checkout init ``` 2. 部署开发环境 项目开发环境使用docker * 数据库 ```shell docker pull mysql:oracle docker run -d -p 3306:3306 --name mysql --env MYSQL_ROOT_PASSWORD=Root@123456 mysql:oracle # 客户端 docker exec -it mysql mysql -uroot -pRoot@123456 ``` * redis ```shell docker pull redis docker run --name redis -p 6379:6379 -d redis # 客户端 docker exec -it redis redis-cli ``` 3. 导入项目 在idea中打开项目,并checkout到所需分支(或标签)