Nginx-How to deploy an existing PHP project

Source: Internet
Author: User
Tags git workflow using git
How can you quickly deploy an existing PHP project with the back-end gods?
The current project situation is that there are some source code under the line, there is a running version on the line.
Now the project is developed and debugged on the test server, and after the development is completed, the modified code is copied to the official server for overwriting.
The result is that once the development cycle is long and the number of files is modified, it can be confusing and cumbersome to deploy.
So I would like to ask you the gods, how can you quickly deploy the project to the line, and do not need too much operation.

Reply content:

How can you quickly deploy an existing PHP project with the back-end gods?
The current project situation is that there are some source code under the line, there is a running version on the line.
Now the project is developed and debugged on the test server, and after the development is completed, the modified code is copied to the official server for overwriting.
The result is that once the development cycle is long and the number of files is modified, it can be confusing and cumbersome to deploy.
So I would like to ask you the gods, how can you quickly deploy the project to the line, and do not need too much operation.

The simplest example is code versioning such as open source Gitlab,gogs

Use version control tools, such as GIT,SVN, etc.

Using the Version Control tool

Git version tool, branch resolution!

Git workflow: Git flow

Dude, you don't use Git?

Version control tools ~ Git svn can

Git svn

Thank you for your answer. has already been deployed using GIT.

How to publish PHP code correctly
, Wally 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.