Single Table (SSM, SpringBoot, SpringCloud, Freemaker, BootStrap, etc ),
There are also doorways in the mountain door,
Development, testing, android ......
The boy was incorporated into the MIS Mountain, although not as powerful as the BOP, master such as cloud,
Only a few seven people,
But it is also fun to get into the little mountain.
A newbie task was created in the peak hours of the previous days,
Create and run a single table
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Environment
2. Project Operation
3. Single Table Creation
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Environment
JDK1.8 (the original JKD9 is used, but the JDK9 directory structure is large and the environment variable configuration is also different. Various strange errors are reported during project running. Remember to use the same environment as the Project Team)
IDEA2017.1)
Maven (you need to download it locally, modify the default configuration in the local repository of drive C, modify the configuration file, and then change settings in IDEA to maven installed by yourself)
Git version control (for example, git needs to generate an SSH file, copy the file content with a suffix to the corresponding location of gitlab, and then git config user. name/email + "My ID", which can also be configured in the turtle)
The remote connection tool used by the database, because the data structure is on the unified server, you only need to remotely connect (just to make it easier for my cloud server O (elastic _ snapshot) O Haha ~)
2. Project Operation
(1) Project clone (self-writing scripts for running)
(2) After cloning, remember to create a local branch and switch the branch.
(3) open a project using IDEA
(4) The pom file adding to maven of each module
(5) reimport maven projects in maven project on the Right of IDEA
(6) modify the configuration file (config_server)
(7) Run modules in sequence or debug
3. Single Table Creation
(1) first create a table in the database tool
View the attempted effect:
Database Table Design (add NOTES ):
(2) automatically generate code using reverse engineering
(3) code compilation
Use Mybatis, springmvc, springboot, springcloud, spring
Freemaker, bootstrap, angularjs, jquery
Code file after completion: