Nginx-how to deploy existing PHP projects

Source: Internet
Author: User
Tags git workflow
How can we quickly deploy existing PHP projects? The current project situation is that there are various offline source code and running versions online. Now all projects are developed and debugged on the test server. after the development is complete, copy the modified code to the official server to overwrite it. How can we quickly deploy existing PHP projects?
The current project situation is that there are various offline source code and running versions online.
Now all projects are developed and debugged on the test server. after the development is complete, copy the modified code to the official server to overwrite it.
The result is that once the development cycle is long and there are more than one modified file, it is easy to mess up and difficult to deploy.
So I would like to ask you how to quickly deploy the project online without too many operations.

Reply content:

How can we quickly deploy existing PHP projects?
The current project situation is that there are various offline source code and running versions online.
Now all projects are developed and debugged on the test server. after the development is complete, copy the modified code to the official server to overwrite it.
The result is that once the development cycle is long and there are more than one modified file, it is easy to mess up and difficult to deploy.
So I would like to ask you how to quickly deploy the project online without too many operations.

The simplest is code version control, such as open-source gitlab and gogs.

Use Version control tools such as git and svn

Use Version control tools

Git version tool, branch solution!

Git workflow: git flow

Don't you use git?

Version control tool ~ Git svn

Git svn

Thank you for your answers. Git has been used for deployment.

How to correctly publish PHP code
WAF deployment system

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.