Code release-PHP server development and testing environment, how to solve the problem of internal and external network deployment?

Source: Internet
Author: User
The PHPSNS website is just getting started. I 'd like to ask if the development environment testing environment officially has an Internet environment. Could you help me draw some diagrams to illustrate how to organize it. for example, you need to deploy two official and beta websites on the Internet, as well as the Code release process. which tools and scripts can be used? The php sns website is just getting started. I want to ask if the development environment test environment officially has an Internet environment. Can you help me draw some diagrams to illustrate how to organize it. for example, you need to deploy two official and beta websites on the Internet, as well as the Code release process. what tools and scripts can be used?

Reply content:

The php sns website is just getting started. I want to ask if the development environment test environment is officially an Internet environment. Can you help me draw some diagrams to illustrate how to organize it. for example, you need to deploy two official and beta websites on the Internet, as well as the Code release process. what tools and scripts can be used?

As for the process, process management always focuses on one purpose. If you do not describe the purpose, let me give a general answer first.

1. Official and beta versions
There is no big difference between deploying a set and deploying two sets. It is best to divide them into two domain names, for example
Official version of www.domain.com
Www.domain-test.com test version, not recommended to put on the Internet, if it is put on the Internet is better to have verification.

2. Code release
It is best to automate the release. If automation is not available at the beginning, developers can be required to write the deployment procedure documents, assign special personnel to release the documents, and publish the documents according to the deployment documents.

3. Released tools and scripts
To put it simply, you need to use ftp to upload and then run the website configuration set by a php program, such as domain and database connection. For details, refer to the discuz installation documentation and steps.

Generally, there is no general publishing script. The best thing is to have a simple automated publishing program. If not, you can gradually accumulate the publishing script.

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.