Intellij IDEA and Gitlab realize code upload and download

The overall process:
1.download project
2.deposit project structure and set default server
3.configure tomcat 2 steps
4.run and test 
5.upload project 1.Clone

remote project 1.1.Create a
new folder, path and file name by yourself
1.2. Set vcs -- "checkout -- "git -- "URL 
URL and fill in http://**.**.**.**/project_path/proj_name.git
Click clone to download the remote code to the local.
1.3.next Until the end of finish, realize the download of the project;

2. Local deployment and configuration
2.1. The choice of the default browser
file -- "tools -- "web browsers --" set the default browser and its file path -- "ok
2.2. Set the project packaging method
file --" project structure --"Artifacts --" + --" web application explorered --" Select the project being edited --" ok

 

3. Configure tomcat

run --" edit configuration --" + --" tomcat server --" local 
Server edit the name of tomcat, under the path
Deployment edit + -- "add cs:war explorered
apply

4. Edit the document, add or delete files.

5. Upload the project
project name right-click -- "Git --" commit Repository (synchronize to the local Git repository) --" Fill in the modification description, select the modification file (generally only submit the modifications in the src and web folders) -- "

Notes for clicking commit :
Every time you want to upload a locally modified file, don't upload your own configuration file. In simple terms, the generally uploaded folders are files in the src and web folders

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326645625&siteId=291194637