文章目录

环境搭建篇
https://www.cnblogs.com/songjilong/p/12612383.html--项目总结 - 谷粒商城基础篇https://www.cnblogs.com/songjilong/p/12705040.html
未解决
vagrant上部署virtualbox.box The Hyper-V cmdlets for PowerShell are not available! Vagrantrequires these to control Hyper-V. Please enable them in the"Windows Features" control panel and try again.
初始化项目和添加微服务
配置.gitignore文件
提交代码时,忽略某些垃圾文件
快速开发-人人fast
简介
renren-generator:人人开源项目的代码生成器,可在线生成entity、xml、dao、service、vue、sql代码,减少70%以上的开发任务。
详细使用可参考官方文档:https://www.renren.io/guide#coder
本地部署
通过git下载源码修改application.yml,更新MySQL账号和密码、数据库名称Eclipse、IDEA运行RenrenApplication.java,则可启动项目项目访问路径:http://localhost
renren-fast-vue
renren-fast(8080)
- common模块类
整合MyBatis-Plus
/** * 1、整合MyBatis-Plus *1)、导入依赖 *<dependency> * <groupId>com.baomidou</groupId> * <artifactId>mybatis-plus-boot-starter</artifactId> * <version>3.2.0</version> *</dependency> *2)、配置 *1、配置数据源; *1)、导入数据库的驱动。https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html *2)、在application.yml配置数据源相关信息 *2、配置MyBatis-Plus; *1)、使用@MapperScan *2)、告诉MyBatis-Plus,sql映射文件位置
- 测试
- yml