Intellij idea and Gitlab implement code upload and download

Source: Internet
Author: User

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. Cloning a remote project

1.1. New folder, path, and file name self-

1.2. Set up VCS--"checkout--" Git--"URL
URL filled in as Http://**.**.**.**/project_path/proj_name.git
Click Clone to implement remote code download to local.

1.3.next until the end of finish, to achieve the project download;

2. Local Deployment and Configuration

2.1. Default Browser selection

FILE--"Tools--" Web browsers--"Set default browser and its file path--" OK

2.2. Set up 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
Under Server edit Tomcat name, path
Deployment Edit +--"Add Cs:war explorered
Apply


4. Edit the document and add the file.
5. Uploading a project


Project name right--"git--" commit Repository (sync to the local git library)--"Fill in the modification instructions, choose to modify the file (generally only to submit changes in SRC and Web folders)--" Click Commit

Precautions:
Each time you want to upload a locally modified file, do not put their own configuration file upload. Simply put, the folders that are generally uploaded are files in src and Web folders

Intellij idea and Gitlab implement code upload and download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.