Ruoyi microservice startup tutorial

Create database ry_cloud

Just import quartz.sql and ry_20210908.sql

Create the database ry_config again

Import ry_config_20220510.sql

Then download nacos, the latest version requires version 2.xx

The following is the compressed package of nacos2.1.0

Link: https://pan.baidu.com/s/1WJwZlhrDAXh0AQ1ILIbhEQ 
Extraction code: 6666

Open the application.properties configuration file in the conf directory of nacos

Modify the following configuration

Just change the database name and password to your own

Note: The database name here is ry_config, not ry_cloud

Then open startup.cmd in the bin directory of nacos

Modify the following configuration

Just modify set MODE="standalone" (click to start)

After modifying the above two steps, you can start nacos. The default account and password are nacos.

http://localhost:8848/nacos

Then modify the configuration list

Here we take ruoyi-job.yml as an example

Just modify the configuration of redis and datasource to your own

If other services appear, redis and datasource must be modified.

 

 

Then you can start the project

Backend: The first three modules must be enabled, the others are optional

 

front end:

execute first

npm i

 then start

npm run dev

 

 

Guess you like

Origin blog.csdn.net/crazy1013/article/details/124780198