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.
2. After downloading, unzip it and use idea to open it.
3. After opening, the general structure is as follows. The environment recommended by the official website is as follows:
The instructions are as follows (see official website):
4. 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.
Next, we need to import the database file we downloaded (in the downloaded source code) into the database
Open the sql file, copy and paste it into our new database and execute it once.
The 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
The port can also be changed, as shown in the picture
below. If we follow the first step of the framework, we are done.