Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Spring-boot-plus Quick start Quick Start (1)

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Spring-boot-plus quickly starts Quick Start1. Clone project to local git clone git@github.com:geekidea/spring-boot-plus.git2. Maven construction

The local environment is used by default, and the corresponding configuration file: application-local.yml

Mvn clean package3. Create a new database

Database MySQL

The default database name is: spring_boot_plus

Import table structure and data:

Spring-boot-plus\ docs\ spring_boot_plus.sql-- Table structure for ip-- DROP TABLE IF EXISTS `ip` CREATE TABLE `ip` (`ip_ start` varchar (15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `ip_ end` varchar (15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `area` varchar (100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `operator` varchar (200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `id`bigint (20) NOT NULL AUTO_INCREMENT, `ip_start_ num` bigint (20) NOT NULL, `ip_end_ num` bigint (20) NOT NULL PRIMARY KEY (`id`) USING BTREE) ENGINE = InnoDB AUTO_INCREMENT = 526718 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic -Table structure for sys_log---DROP TABLE IF EXISTS `sys_ log` CREATE TABLE `sys_ log` (`type`bigint (18) NOT NULL COMMENT 'primary key', `type` tinyint (1) NULL DEFAULT NULL COMMENT 'type', `content`varchar (255i) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'content', `create_ id`bigint (18) NULL DEFAULT NULL COMMENT 'creator ID', `create_ time`datetime (0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT' creation time' PRIMARY KEY (`log_ id`) USING BTREE) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'Syslog' ROW_FORMAT = Dynamic -Records of sys_log-- INSERT INTO `sys_ log` VALUES (1060438746056376321,0, 'Aids, 100000,' 2018-11-08 15 sys_ 41) INSERT INTO `sys_ log` VALUES (1060438788502732802, 0, 'Bengui, 100000,' 2018-11-08 15 VALUES 42RV 08'); INSERT INTO `sys_ log` VALUES (1060438799600861185,0, 'Cure, 100000,' 2018-11-08 1542RV 10'); INSERT INTO `Log` VALUES (1060438809495224322,0, 'Dust, 100000,' 2018-11-08 15RU 42RV 10')

Ip table here only table structure, the first time to use the project, you do not have to import ip table data!

Https://github.com/geekidea/spring-boot-plus-doc/blob/master/db/ip_data.sql.zip

4. Start redis5. Check if the lombok plug-in is installed

If you encounter an log error, you need to install the lombok plug-in

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report