爱神 - AI交友平台
- Create database from
database/users.sql
- Import project as maven project
- Edit
application-dev.properties
- Click
AisenApplication
run the app - Click
stop
and edit run config, add VM options-Dspring.profiles.active=dev
to Springboot -> AisenApplication - Restart
AisenApplication
e.g.
// change mysql host:port/dbname
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/dbname?useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull&useSSL=true&allowMultiQueries=true&serverTimezone=Asia/Hong_Kong
spring.datasource.username=your mysql username
spring.datasource.password=your mysql password
//change ip and port if necessery
http://127.0.0.1:8086/doc.html
//how to config swagger
com.birthday.aisen.config.SwaggerConfig