Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am new to deploy a website.

I have all the code about the website in my laptop, but I don't know how to move it to the real server the Microsoft Azure.

Could anyone tell me how to deploy Laravel 5+ to Azure or any tutorials about it.

Thanks!!!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
565 views
Welcome To Ask or Share your Answers For Others

1 Answer

There are 3 major Azure service we can use to deploy projects on, which are Virtual Machines, Cloud Services and Web Apps. But the simplest way is to deploy on Web Apps server.

Here are the steps to deploy PHP project on Azure Web Apps Server by git:

1, Sign in Azure manage portal , Click “NEW” in bottom, select “COMPUTE”=>”WEB APP”=>”QUICK CREATE” and enter server name in URL section, to create a new empty Web application.
enter image description here

2, Click “WEB APP” button on the left navigation, in this dashboard we can see the web site we created above, click web site name to enter in management page.

enter image description here

3, In dashboard page, click “set up deployment form source control” in “quick glance” column, select “Local Git repository” to create a git repository. Now in deployments page, we can see the guide to deploy project by git.

4, In your local project root directory, run the following commands to deploy as shown on the page:

enter image description here

Furthermore, we can simply use FTP tool to upload the project to Azure Server, please see this simple sample: http://blogs.technet.com/b/sams_blog/archive/2014/11/14/azure-websites-deploy-php-website-using-ftp.aspx


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...