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