php|architect - March 2013 by php|architect

php|architect - March 2013 by php|architect

Author:php|architect
Language: eng
Format: epub
Publisher: php|architect
Published: 2013-03-27T04:00:00+00:00


Windows Azure Web Sites supports multiple means for deploying your websites including FTP and WebDeploy. WebDeploy is a Microsoft protocol used by Visual Studio and WebMatrix. Windows Azure Web Sites also supports deployment from version control protocols, including git and TFS (a VCS and CI Server from Microsoft). Finally, Windows Azure Web Sites supports continuous deployment/integration with a number of distributed version control services over the git protocol including: GitHub, BitBucket and CodePlex.

Figure 7From the portal (see Figure 7), it is very easy to create and deploy a new website with a MySQL database directly from a publically available repository. Start by creating a new “custom create” website and provide a name, after which the dialog will verify that the name is available. Next, select to create a new MySQL Database and at the bottom, select “Publish from Source Control”. Click “Next”, and then on the next screen, accept ClearDB’s terms and click “Next” again. On the following screen, select “git” as the “Source Control Type”, then select “GitHub” for the “Source Code Repositories” (see Figure 8). Next click “Authorize Now” to verify your credentials for GitHub. The first time you do this, you will need to provide your user name and password for GitHub. After you are verified, simply select the repository you want to publish from, and click “Finish”. From there, navigate to the Deployments tab in the Windows Azure Management Portal. You should see some activity there indicating that your new site is being deployed. Once it reads “Active Deployment”, you can then click on “Browse” at the bottom of the portal window and open up your new site.

Figure 8 Windows Azure Web Sites from the Command Line



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.