Home  >  Article  >  Backend Development  >  nginx - How to deploy existing PHP project

nginx - How to deploy existing PHP project

WBOY
WBOYOriginal
2016-12-01 00:25:581886browse

Please ask the backend experts, how to quickly deploy existing PHP projects?
The current project situation is that all the source codes are available offline and the running version is available online.
Now the project is developed and debugged in the test server. After the development is completed, the modified code will be copied to the official server for coverage.
The result is that once the development cycle is long and there are too many modified files, it is easy to get messed up and deployment is very troublesome.
So I would like to ask the experts how to quickly deploy the project online without requiring too many operations.

Reply content:

May I ask the backend experts how to quickly deploy existing PHP projects?
The current project situation is that all the source codes are available offline and the running version is available online.
Now the project is developed and debugged in the test server. After the development is completed, the modified code will be copied to the official server for coverage.
The result is that once the development cycle is long and there are too many modified files, it will be easy to get messed up, and it will be very troublesome to deploy.
So I would like to ask the experts how to quickly deploy the project online without requiring too many operations.

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

Use version control tools such as git, svn, etc.

Use version control tools

Git version tool, branch resolution!

git workflow: git flow

Brother, don’t you know how to use git?

Version control tools~ git svn can be used

git svn

Thank you for your answers. Already deployed using git.

How to publish PHP code correctly
WALL-E deployment system

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn