1. First install mysql (windows install mysql, there are too many online, I won’t take the picture above)
New system variable, MYSQL_HOME variable value: mysql installation directory (for example, installed in D:\mysql)
Add %MYSQL_HOME%\bin to Path
Login to mysql
mysql -P 3306 -h localhost -u root -p123456
Execute command (create database davinci3)
create database davinci3;
2. Unzip davinci-assembly_3.0.1-0.3.1-SNAPSHOT-dist-beta.9.zip to Disk D and rename it to davinci
3. Under the cmd command line, run: mysql -P 3306 -h localhost -u root -p123456 davinci3 <D:\davinci\bin\davinci.sql
4. Configure the global environment
DAVINCI3_HOME, corresponding to the decompression path D:\davinci of the Davinci project
Add %DAVINCI3_HOME%\bin to Path
5. Modify D:\davinci\config, remove the suffix example of application.yml.example, and edit
(5.1)
server:
protocol: http
address: 192.168.8.102
port: 8080
(5.2)
## davinci datasouce config
datasource:
url: jdbc:mysql://localhost:3306/davinci3?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQuerie
s=true
username: root
password: 000000
[Note: The library name is: davinci3]
(5.3)
mail:
host: smtp.163.com
port: 25
username: [email protected]
fromAddress:
password: TNRTLLDMVMMPTOJW
nickname: Davinci
6. Start the project
cmd run command
7. In the browser, enter http://192.168.8.102:8080/ to display the login page, which means the service started successfully