Skip to content

java-birthday/aisen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aisen

爱神 - AI交友平台

Run on IntelliJ IDEA

  1. Create database from database/users.sql
  2. Import project as maven project
  3. Edit application-dev.properties
  4. Click AisenApplication run the app
  5. Click stop and edit run config, add VM options -Dspring.profiles.active=dev to Springboot -> AisenApplication
  6. Restart AisenApplication

Edit application-dev.properties

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

Create api doc.html With swagger

//change ip and port if necessery
http://127.0.0.1:8086/doc.html  
//how to config swagger 
com.birthday.aisen.config.SwaggerConfig

Releases

No releases published

Packages

No packages published

Languages