-
Notifications
You must be signed in to change notification settings - Fork 178
build
sofn edited this page Jun 26, 2016
·
3 revisions
- 以Gradle工程方式打开项目
- Lombok -- IDE配置Lombok支持
非必须,因为有Spring的lazy机制,只有用到RateLimit限流功能的的时候才会创建Redis连接,没有Redis连接也能启动。
- docker方式:执行deploy/bin/init_redis.sh
- 手动方式: 创建redis服务,ip:127.0.0.1 port:6379
- 配置路径:configs/src/main/resource_${profile}/frame-redis.properties
本地开发环境用H2数据库代替Mysql,如果想改用Mysql,需要创建Mysql服务:
- docker方式:执行deploy/bin/init_mysql.sh
- 手动方式:创建Mysql服务,ip: 127.0.0.1 port:3306 password:123 创建database: user和task
- 配置路径:configs/src/main/resource_${profile}目录下:user.properties和task.properties