Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.14 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.14 KB

Robe-Chat-Server

Run/Debug Configurations

Creating and Editing Run/Debug Configurations

1. Main Class

 io.robe.chat.ChatApplication

2. Program Arguments

2.1 You must run it at least once to create the table and default data.
 init   init.yml

You can also enter 123123 as the default password in case of consol login password.

2.2 Start the application
 server robe.yml

3. Working Directory

 ../robe-examples/robe-chat-server

Database

You can make the corresponding change in the .yml file for the database configuration as follows.

hibernate:
   ...
   database:
     # the name of your JDBC driver
     driverClass:  com.mysql.jdbc.Driver
     # the username
     user: root
     # the password
     password:
     # the JDBC URL
     url: jdbc:mysql://localhost:3306/robe-chat?autoReconnect=true&useSSL=false
     # Properties
     properties:
       charSet: UTF-8
       dialect: org.hibernate.dialect.MySQL5InnoDBDialect
       hibernate.hbm2ddl.auto: update