At present, various companies are using agile development methods for Project R & D. Continuous iteration of vertices brings a lot of work to the test, and also increases the risk of bugs in product quality. Therefore, major automated deployment tools play a prominent role. This process involves the intermediate process of unit testing, integration testing, and automated deployment and launch. Today, we are building a phing environment in windows and recording the difficulties we have encountered. I hope this will help you.
I. Required Software
1. You can choose wampserveror phpstudyor appserv-win32-2.5.9.exe for Apache/PHP/mysqlintegration packages.
2. Install svn-1.4.5-setup.exe on the svnserver
3. svninterface management software svnmanager-1.08.zip
4, SVN client software TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi and Chinese patch LanguagePack_1.6.5.16974-win32-zh_CN.msi
5. Automated Deployment Tool phing-2.4.1.zip
2. Installation Steps
1. Install the integration package. Click Next. I use phpstudy. After the installation is complete, run http: // localhost to check whether the installation is successful. If Apache fails to be started, edit httpd. remove the # sign before servername from conff. Restart Apache and see it work! The installation is successful.
2, by default, pear is not installed, so you need to download the go-pear.php file to the PhP5 folder. Then cmd open the command line mode, enter the PhP5 folder, execute the PHP go-pear.php, all the way y and press Enter. Pear installation is complete. Double-click pear_env.reg to import relevant information to the Registry and restart Apache. The purpose of installing pear is to be used later when svnmanager is installed.
3. After the integrated environment is installed, install the butler Control Server and svn-1.4.5-setup.exe.