Introduction to Ruoyi Framework 1

Use of Noi framework <1>
1. Download the source code of Noi. You can download it from the official website, or use git cloning method, so that you can update it at any time in the future. I will download it directly here.

Insert image description here2. After downloading, unzip it and use idea to open it.
Insert image description here3. After opening, the general structure is as follows. The environment recommended by the official website is as follows:
Insert image description here

Insert image description hereThe instructions are as follows (see official website):

Insert image description here4. Next we need to configure the database, etc.
First create a new database, give it a random name, I gave it day06 here, and then modify the database configuration in the configuration file below.

Insert image description hereNext, we need to import the database file we downloaded (in the downloaded source code) into the database

Insert image description hereOpen the sql file, copy and paste it into our new database and execute it once.

Insert image description hereThe above two sql files, one is a table and the other is data, both need to be executed once.
5. Now you can start the Zoey framework and find the startup class in the picture below

Insert image description hereThe port can also be changed, as shown in the picture
Insert image description hereInsert image description herebelow. If we follow the first step of the framework, we are done.

Guess you like

Origin blog.csdn.net/qq_40579139/article/details/125631947