The gate also has a doorway road,
Development, testing, Android ...
Kid was included in Mis small mountain, although not as big as bop, master like Clouds,
Only a few seven people,
But also in the small peak of fun.
The first few daily peak the main cloth under a novice task,
Make a single table and run
--------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------
1. Environment
2. Project operation
3, single-table production
--------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------
1. Environment
JDK1.8 (original with JKD9, but JDK9 directory structure change, environment variable configuration also different, project operation reported a variety of strange error, need to remember to use the same environment with the project team)
IDEA2017.1 (after the configuration is completed according to the gate rules of the various Gates code writing specifications and plug-in download configuration, this door rules in the document library)
Maven (need to re-download locally, modify the default configuration of the local warehouse on the C drive, modify the configuration file, and then in idea settings modify Maven to self-installed maven)
Git version control (small turtle with use, git need to generate an SSH file, a suffix of the file content is copied in gitlab corresponding, git config user.name/email+ "I logos", also can be configured in the small turtle)
The database uses the remote Connection tool, because the data structure is in the unified server, just remote connection (just convenient for my cloud server O (∩_∩) o haha ~)
2. Project operation
(1) Project cloning (self-writing script run)
(2) Remember to create a local branch and switch branches when cloning is complete
(3) Idea Open Project
(4) Each module pom file adding to Maven
(5) Reimport maven projects in Maven project on the right side of idea
(6) Modify the configuration file (Config_server)
(7) Modules run sequentially or debug
3, single-table production
(1) First make tables in Database Tools
To view an attempted effect:
database table Design (note plus comment):
(2) Automatically generate code using reverse engineering
(3) Code compilation
Use to MyBatis, Springmvc, Springboot, Springcloud, Spring
Freemaker, Bootstrap, Angularjs, jquery
After the completion of the code file:
Single table (SSM, Springboot, Springcloud, Freemaker, bootstrap, etc.)