1. Install the front tools
JDK 1.8\ Redis (cache database)\ mysql\ idea (backend development tool)\ nodejs (front-end development platform) This article mainly uses package management tool NPM)\ vscode (front-end development tool)\ git (version management tool) download https://gitee.com/y_project/RuoYi-VueCopy the code
Ii. Mode of operation
Three, background import, setting
Four, background operation
Five, run Redis, run the background, run the foreground is visible login page
Create a test menu
7. Use the system to generate code automatically
1. Create an item list
CREATE TABLE `y_good` (
`id` int(5) NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(10) NOT NULL COMMENT 'name',
`price` double NOT NULL COMMENT 'price',
`remark` varchar(100) DEFAULT NULL COMMENT 'note',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
Copy the code
2. Export the table to generate y_good. SQL on the desktop
3, use the system to generate code, edit, click generate code
4. Establish the module Ruoyi-test