DrupalCon Prague 2013

Ejecutando Drupal en la plataforma Azure de Microsoft

Mark Brown  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

good morning everybody welcome or good afternoon welcome to my session this is running Drupal on Microsoft's cloud platform windows azure my name is Mark Brown I work for Microsoft I am in the windows azure product team my primary job is I oversee all

the marketing and community work and I'm focused primarily around everything web workload so I oversee a number of services that are related to web developers building web applications in 2.1 Azure up on the screen is my email adress feel free to send

me an email if you have a question or anything you see from today's session or you can follow me or just harass me on twitter if you want to so this session is primarily all demo so those are the slides so I wanted to talk to you about running drupal on

Windows Azure and despite the name windows in the name you don't need windows to run Drupal on it you can do usually you can use pretty much any operating system you want I'm going to do all my demos here from a mac so primarily everything you're

going to see now is going to be in shelf or terminal window so why don't we get started so I'm going to do is I'm going to navigate to whoops so it's the wrong one when navigate to my mam directory here and see I've got just a few websites

up on here so the first thing I do is I want to go and do it git clone for a triple so i'm going to type this in get clone specify the branch here 7 dot 23 and it'll start / drupal get and i'm going to put that in we'll call it my drupal to

directory ah what i misspelled here my connected to drupalcon and then this get Drupal done for work I know what I missed project / triple dot get that will go into my drupal to directory so we'll give that just a moment so let's write that run for

just a second while that's running I'm going to go to my browser so this is the portal full windows azure and I'll click all the items here you can filter different services and accounts down the left side here and you can see I've got a number

of different storage accounts this thing is full of videos I have some virtual machine images in here that he'll have Drupal on them a bunch of different stuff I've got some website logs in there and here's a couple of VMS these are a couple of

Drupal sites running on a boon to and some cloud services and I've got some websites down here on the bottom so the first thing I want to do well that's cleaning into that directory is we'll go ahead and create a new empty shell so i'm going

to say new compute website and then I'll slights a custom create and i'll call this one drupal to as well and i will select it in the western US so whereas select the region is going to matter because the second thing that's of course after i create

this website is i'm also going to use mysql but mysql is a service and my instance for my mysql server is going to be in the western US so of course i want my drupal site to be in the same region or the same data center as my database next thing I do here

is say publish from source control and then what happens next is I get a a choice of different source code repositories I can publish from so I can select an external one here this supports for both git and mercurial bitbucket even dropbox god forbid you want

to publish from dropbox but some people may i'll select get local git repository here and then that'll take a few minutes to get started so let's well that's Ronnie will go back here and this is almost done awesome so now do the directory and

there's my drupal site so let's do a get create a new branch here master awesome so let's check this okay nothing to commit that's great let's add everything in here no no fine okay let's go back to our website there and that's

all done so let's go ahead and click into here and i'll come back and show you more of the dashboard later what I want to do right now is I want to go get my git remote out here so I'm going to click on the deployments tab and you can see it just

has some directions on how to use get to connect your your site locally so we'll go ahead and we'll copy that and then we'll come back to here and then I'll add a remote and we'll call that remote asier and paste that in great okay so we've

got the new drupal site cloned got it all set up and get next let's go ahead and fire this thing up great just do a quick install here i have a day base up I need the grading database so let's call this go into PHP myadmin here a select my localhost

it's creating database oops go to DB okay so of course super secret username and password here give you 20 bucks you can guess what that is all right so call this triple 0 to my email address awesome okay that's all done now I've got my site all

set up database is built out everything is ready to go let's go back to here let's go ahead and commit it just call this initial sure actually all right let's try it alright so now I'm going to do is I'm going to go ahead and push this

to the remote so this is going to be the remote name is Asher and then the branch here master and i'll put in my password for my directory or my website so this is the password i have up on here so that's going to go ahead and push so when you create

a new website actually when you create a new subscription you get credentials that you can reset or set here so i'm not going to do that here ok so now I've got a deployment coming so this thing is working see how this is coming along you almost there

[ ... ]

Nota: se han omitido las otras 2.726 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.