SME code on-line Flowchart (i)

Source: Internet
Author: User

The following flowchart I draw according to my own experience, does not represent all small and medium enterprises. For communication only

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/C3/wKioL1YGnMPC3yCtAAEhfdRYQ3s588.jpg "title=" Small Business code deployment flowchart. jpg "alt=" wkiol1ygnmpc3yctaaehfdryq3s588.jpg "/>

1. Get code to get the latest code through SVN or git by making a URL to the project

2. Java project we are compiled by ant (Compile the server), (Java Project can be compiled by Ant or maven)

PHP does not need to be compiled.

3. Package the acquired code in tar ZCF

4. Copy the wrapped package to the target server

5. Backup the original required deployment code on the target machine (optional)

6. Unzip the code package on the target server

7. Create a soft link to manage the update of the package using a soft link, and then just link to the latest code after the code is updated

Path such as: Web->/opt/project/xxx_2015-09-26-21-37-v1 (this is equivalent to canceling the old code of the soft link)

8. Restart the web (Java)


The test is given to the development, some companies have a test platform, but fortunately we are not responsible for testing





650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/C5/wKiom1YGnFGA76q-AACu_QsvbNQ859.jpg "title=" SMB code rollback flowchart. jpg "alt=" wkiom1ygnfga76q-aacu_qsvbnq859.jpg "/>


These deployments and rollbacks are done using shell scripting.

This article is from the "Little Rookie" blog, please be sure to keep this source http://xiaocainiaox.blog.51cto.com/4484443/1698471

SME code on-line Flowchart (i)

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.