Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Alternate resources: 

Install Drupal Locally with Dev Desktop

Video loading...

  • 0:13
    In this first lesson of the Learn Drupal Series we're going to be looking at how to
  • 0:17
    install Drupal locally on your own computer rather than having to deal with
  • 0:21
    a web server that's out on the web. This is particularly important when working
  • 0:25
    with development versions of code, because you may be introducing security
  • 0:28
    vulnerabilities. You don't want people necessarily getting in to those on the web.
  • 0:32
    It's also just a lot easier to work on your own local computer and do all the things
  • 0:36
    you have to do, whether you're online or off. So what we're going to be doing
  • 0:40
    is looking at how to get a local web server set up that you can run your websites on
  • 0:44
    and then we'll be downloading and installing Drupal 8.
  • 0:47
    In this video we'll be looking at the Drupal Ladder.
  • 0:51
    And if we scroll down here and look at the very first step down at the bottom of the
  • 0:55
    ladder it's to install Drupal locally. When we click through there, you're going to see
  • 0:58
    there are three steps that are involved in this lesson. Install the Dev Desktop.
  • 1:03
    Download Drupal 8 and then Launch Drupal 8 on our Dev Desktop.
  • 1:07
    This is going to get a local version of Drupal running.
  • 1:11
    In order to install Drupal locally, we also need to have a web server on our local
  • 1:15
    computer. There are many ways to achieve this.
  • 1:18
    But in this video we're going to be using the Dev Desktop.
  • 1:21
    You can find Dev Desktop at Acquia.com, and on their free download section.
  • 1:27
    Once you get there, we're going to download the Drupal 7 version,
  • 1:29
    pick the operating system you're on. I'm on a Mac. So I'll go ahead and click the
  • 1:33
    download button for the Mac version. It's going to pop up a dialogue asking for
  • 1:37
    some info, but I can click this link down here that says "No, thanks -
  • 1:40
    Just take me to the download." And I'm going to go ahead and download
  • 1:43
    that to my desktop. It might take you a few minutes.
  • 1:46
    So, once you've downloaded it, go to where you downloaded it – I put it on my desktop.
  • 1:51
    You'll notice this is a .dmg. On Windows it would be an .exe.
  • 1:54
    You're going to install it just like any other application in your operating system.
  • 1:59
    So I'm just going to go ahead and go through the the normal steps
  • 2:02
    run the installer here, and it's gonna - this will open up and start an installation
  • 2:07
    wizard for us to kind of walk through.
  • 2:10
    As we work our way through the installer, first it's going to let me know what I'm
  • 2:14
    installing, which is always a good thing to know. So we can see all that.
  • 2:18
    License Agreement. Locations – where does the Dev Desktop actually live?
  • 2:25
    That's in my Applications folder. And then all of my sites - the site it's going to build
  • 2:28
    and any other sites I want are going to be in my Sites folder, which again is typical.
  • 2:33
    But you can set those wherever you want.
  • 2:35
    Ports – I would recommend you leave these alone, so that you don't accidentally
  • 2:37
    conflict with other Apache and MySQL stuff that could be running on your system,
  • 2:43
    like MAMP. Um, I'm going to go ahead and fill in basic Drupal settings
  • 2:48
    for my first Drupal site – which it's gonna go ahead and build for me.
  • 2:53
    Review, and then we'll click Next. And it's going to begin the installation.
  • 2:59
    This is going to take a while, so you probably want to go grab a cup of coffee...
  • 3:03
    and then, you know, come back to it. As this finishes up, it's going to run through
  • 3:08
    it's cleanup here and then I launch the new Dev Desktop.
  • 3:15
    It's all good and well – we now have Dev Desktop, so we have a local web server
  • 3:18
    with some Drupal. But we have Drupal 7. We need to get Drupal 8.
  • 3:23
    So let's go back to our Lesson. And if I click the link for download Drupal 8 on this one
  • 3:29
    you'll see that we have a link that takes us directly to wherever we need to be,
  • 3:33
    which is pretty handy. Um, and uh, so this is releases for Drupal core
  • 3:37
    and I can select the 8x API version and then I'll get the 8x dev
  • 3:43
    – the development version for Drupal 8 that we want to play with.
  • 3:47
    I'll also show you how you can do this without using that direct link though.
  • 3:51
    It's handy but you may not have that. If I go to Download & Extend you'll see this is for
  • 3:56
    Drupal 7 but we just want Drupal 8, so I'm going to go to Drupal core directly,
  • 4:00
    so I can get sort of the full list. And under here, again, there's only 7 and 6
  • 4:05
    but if I go down to this link underneath that says "View all releases" – that's where
  • 4:08
    I can get the latest development work, uh – and this takes me back to that same screen
  • 4:13
    I say I want version 8, and then you can see I have Drupal 8x dev.
  • 4:19
    Which is exactly what we want for helping on core. Download zip or tarball,
  • 4:24
    whichever you want. So I'm going to click this and download it.
  • 4:27
    I'm going to go ahead and save it to my Sites directory. You'll see that's where the
  • 4:31
    the initial Acquia Drupal site was put but the rest of my sites are here as well.
  • 4:36
    So I'm going to save it directly into that directory. And once I have that
  • 4:40
    downloaded, go back to sites here and then I'm going to unzip that.
  • 4:45
    So that I can get my Drupal goodness.
  • 4:49
    That creates a folder called drupal8xdev. You can see this is Drupal core.
  • 4:54
    Its files look different. And I can also rename this folder to anything I want,
  • 4:58
    just for convenience sake. So I'm just going to name this Drupal 8.
  • 5:02
    But you can name it whatever you want to.
  • 5:05
    Ok so now onto our final step for this lesson –
  • 5:08
    which is to actually get our new Drupal 8 site that we just downloaded
  • 5:11
    running on our Dev Desktop.
  • 5:14
    We're going to start off by launching the Acquia Dev Desktop. Get that running.
  • 5:19
    And you'll see we have a settings button here.
  • 5:22
    So, there's some standard settings stuff in terms of how you want to use it in ports
  • 5:25
    but the important stuff that we need to do – is first of all we need to change our
  • 5:29
    PHP version. 5.3 is required for Drupal 8. So we need to make sure that we
  • 5:34
    change that or our Drupal 8 site's not going to work right.
  • 5:38
    So let's apply those settings before we proceed. It restarts things.
  • 5:41
    Everything looks good. So now I'll go back into here and actually set up my site.
  • 5:45
    And you'll notice that the original, uh site that we had setup here is now on 5.3 so
  • 5:51
    that's – I'm using the right version of PHP first.
  • 5:55
    Now I'm going to go browse to that Drupal 8, uh code that I downloaded, right?
  • 6:00
    So, I'll just browse there. I want it to create a new database for me.
  • 6:04
    I'm just going to call it drupal8. We can be creative.
  • 6:07
    I also want to set up a subdomain so that this is the url I'll go to for this particular site.
  • 6:13
    And I'll go ahead and click that. And it actually does the Drupal installation for me.
  • 6:19
    Sets up the database and things, so now I just run through the regular Drupal installer
  • 6:24
    and I have Drupal 8 installed. We'll run through and do the site information.
  • 6:30
    Real quickly... Site Name. I need to just fill out –
  • 6:34
    this is just the normal Drupal installation, it's just that the Dev Desktop
  • 6:37
    went ahead and created the database for me and kind of got all of that set up.
  • 6:41
    Which is handy.
  • 6:42
    And yes, I will be particular and change it to the right city, not just the timezone.
  • 6:48
    And then once I save this, um here is my new Drupal 8, localhost web site,
  • 6:56
    so that I can begin playing with what's going on with Drupal 8 world,
  • 7:00
    and helping out with making it better.
  • 0:13
    Esimeses Learn Drupal õppevideos vaatame,
  • 0:17
    kuidas paigaldada Drupal oma arvutisse, et me ei peaks arvestama
  • 0:21
    veebiserveriga, mis on internetti ühendatud. See on tähtis tehes tööd
  • 0:25
    arendusjärgus koodiga, sest tehtav töö võib sisaldada turvavigu.
  • 0:28
    Kindlasti sa ei soovi, et inimesed avastavad neid internetis oleval saidil.
  • 0:32
    Lisaks on palju lihtsam teha tööd enda arvutis ja teha mida iganes
  • 0:36
    sa soovid teha, oled sa internetiga ühendatud või mitte. Niisiis edasi vaatame,
  • 0:40
    kuidas lokaalset veebiserverit üles seada, selles veebisaiti jooksutada
  • 0:44
    ning lõpuks laeme alla ja paigaldame Drupal 8.
  • 0:47
    Selles videos vaatame Drupal Ladderit (Drupal Redel).
  • 0:51
    Ja kui me alla kerime ja vaatame alt esimest sammu lehe allotsas
  • 0:55
    siis näeme juhendit Drupali lokaalseks paigalduseks. Seal ringi klikkides märkad, et
  • 0:58
    et seal on kolm sammu, mis on selle ülesandega seotud. Paigalda Dev Desktop.
  • 1:03
    Laadi alla ja käivita Drupal 8 oma Dev Desktopis.
  • 1:07
    See aitab sul kohaliku Drupal versiooni tööle saada.
  • 1:11
    Paigadamaks Drupal kohalikku versiooni vajame me ka serverit oma arvutis.
  • 1:15
    Selle saavutamiseks on mitu võimalust.
  • 1:18
    Selles videos kasutame Dev Desktop programmi.
  • 1:21
    Dev Desktopi leiad Aquaia.com veebilehe tasuta allalaadimiste (Free download) seksioonist.
  • 1:27
    Sinna jõudes laeme alla Drupal 7 versiooni.
  • 1:29
    Vali oma operatsioonisüsteem. Mina kasutan Mac-i. Seega ma lähena ja klikin
  • 1:33
    Mac versiooni allalaadimise nupul. See avab hüpikakna küsimaks veidi informatsiooni,
  • 1:37
    kuid ma ma saan klikkida sellel lingil siin all ja öelda "No, thanks-
  • 1:40
    Just take me to the download". Sedasi toimetades saan edasi liikuda ja alla laadida
  • 1:43
    selle enda töölauale. See võib võtta mõned minutid.
  • 1:46
    Niisiis, nüüd kus oled selle alla laadinud, mine allalaadimiste kausta - Ma panin selle oma töölauale.
  • 1:51
    Märkad seal on see .dmg file. Windowsi puhul oleks selleks exe.
  • 1:54
    Paigalda see nagu iga teine aplikatsioon oma operatsioonisüsteemis.
  • 1:59
    Nüüd ma liigun edasi ja teen läbi tavapärased sammud
  • 2:02
    käivita paigaldaja ja see avab meile paigaldustööriista
  • 2:07
    milles peame mõned sammud läbi tegema.
  • 2:10
    Liikudes läbi paigaldustööriista annab see esmalt teada mida ma paigaldan,
  • 2:14
    mis on alati hea teada.
  • 2:18
    Litsentsiga nõustumine. Asukoht - kus Dev Desktop päriselt asuma hakkab?
  • 2:25
    See on minu Aplikatsooonide kaust. Ja peale seda kõik minu saidid - saidid mida
  • 2:28
    ma hakkan looma ja kõik teised saidid lähevad minu Sites kausta, mis on taas tavapärane.
  • 2:33
    Kuid sa võid need seada kuhu iganes soovid.
  • 2:35
    Ports (Pordid) - ma soovitan sul need rahule jätta, sest vastasel juhul sa võid kogemata
  • 2:37
    luua konflikti teiste Apache ja MySQL asjadega, mis võivad su süsteemis olla,
  • 2:43
    näitena MAMP. Liigun edasi ja täidan Drupali esmased seaded
  • 2:48
    oma esimese Drupal saidi jaoks, mis seadistab ja liigub edasi.
  • 2:53
    Vaata üle ja kui kõik korras kliki Next,
  • 2:59
    See võtab veidi aega seega ehk tahad võtta vahepeal väikese kohvi...
  • 3:03
    ja peale seda, tead küll, tule tagasi selle juurde. Kui see on lõpuni jõudnud, see teeb läbi
  • 3:08
    oma siinse koristustöö ja siis ma käivitan uue Dev Desktopi.
  • 3:15
    Kõik on suurepärane - nüüd me käivitame Dev Desktop ja meil on kohalik server
  • 3:18
    koos paigaldatud Drupaliga, kuid meil on Drupal 7. Me vajame Drupal 8.
  • 3:23
    So liigume tagasi oma õppetunni juurde. Ja kui me klikime linki download Drupal 8
  • 3:29
    siis see link viib meid otse kuhu me vajame ja see on päris mugav.
  • 3:33
    See on Drupal core väljalase
  • 3:37
    ja ma saan valida 8x API versiooni ning peale seda ma saan 8x dev
  • 3:43
    - arendusversiooni Drupal 8 jaoks, millega me tahamegi mängida.
  • 3:47
    Ma näitan ka sulle kuidas teha seda otselinki kasutamata.
  • 3:51
    See on mugav, kuid sul ei pruugi seda olla. Kui lähen Download & Extend siis sa näed
  • 3:56
    see on Drupal 7 jaoks, kuid me tahame Drupal 8. NIisiis ma lähen otse Drupal core
  • 4:00
    kus ma näen tervet nimekirja. Selle all taas, seal on ainult 7 ja 6,
  • 4:05
    kuid kui ma lähen allapoole seal on kirjas "View all releases".
  • 4:08
    See on koht, kus leian uusima arendusversiooni millega tööle hakata ja see viib mind tagasi samale lehele.
  • 4:13
    Ma ütlen, et soovin 8 versiooni ja seal sa näed ma saan valida Drupal 8x dev.
  • 4:19
    Mis on täpselt see me vajame aitamaks põhipakki paremaks muuta. Lae alla zip või .tar fail,
  • 4:24
    olevalt kumba sa soovid. Klikin ja laen selle alla.
  • 4:27
    Liigun edasi ja laen selle oma arvuti Sites kataloogi. Sa näed see on koht
  • 4:31
    kus ülejäänud Aquia Drupal saidid on paigaldatud ja samuti minu saidid.
  • 4:36
    Niisiis salvestan selle otse sellesse kausta ja kui olen selle alla laadinud,
  • 4:40
    siis lähen tagasi saitide juurde ning pakin selle lahti.
  • 4:45
    Sedasi saan ma omale suurepärase Drupali.
  • 4:49
    See loob kausta nimega Drupal8xdev. Sa näed see on Drupal core.
  • 4:54
    Selle failid näevad erinevad välja. Ja samuti saan ma muuta selle kausta nime milleks iganes ma soovin.
  • 4:58
    Mugavus mõtteis annan selle kausta nimeks Drupal 8.
  • 5:02
    Aga sa võid nimetada seda kuidas iganes soovid.
  • 5:05
    Ok nüüd meie viimase sammu kallale selles õppetunnis,
  • 5:08
    milleks on alla laetud Drupal 8 saidi
  • 5:11
    käivitamine oma Dev Desktopis.
  • 5:14
    Alustame Aquia Dev Desktop käivitamist.
  • 5:19
    Siin on meie settings (seadete) nupp.
  • 5:22
    Mõned standartsed seaded portide kasutuse kohta,
  • 5:25
    kuid tähtis osa mida peame tegema on muutma PHP versiooni
  • 5:29
    PHP versioon 5.3 peale, sest see on nõutud Drupal 8 poolt. Niisiis peame tegema kindlaks,
  • 5:34
    et muudame selle. Vastasel juhul meie Drupal 8 saidid ei hakka õigesti tööle.
  • 5:38
    So kinnitame need seaded enne jätkamist. See taaskäivitab asjad.
  • 5:41
    Kõik näib suurepärane. Niisiis nüüd ma liigun siia tagasi ja alustan reaalset saidi üles seadmist.
  • 5:45
    Ja nüüd sa märkad, et sait mille üles seadsime on nüüd 5.3 niisiis
  • 5:51
    kasutan õiget PHP versiooni.
  • 5:55
    Nüüd ma lähen ja sirvin seda Drupal 8 koodi mille ma alla laadisin, õigus?
  • 6:00
    NIisiis, ma lihtsalt sirvin seal. Ma tahan luua endale uue andmebaasi.
  • 6:04
    Selle nimeks panen lihtsalt drupal8. Võime olla ka loomingulised.
  • 6:07
    Samuti sooovin seadistada alamdomeeni, niisiis see on see veebiaadress, millele ma liigun selle saidi jaoks.
  • 6:13
    Lähen klikin seda ja tegelikult see teeb Drupali installatsiooni minu eest.
  • 6:19
    Seadistab andmebaasi asjad, niisiis nüüd ma lihtsalt käin läbi tavapärase Drupal paigadaja
  • 6:24
    ja mul ongi Drupal 8 paigaldatud. Seadistame saidi informatsiooni.
  • 6:30
    Päris kiiresti.. Saidi nimi. Pean vaid täitma -
  • 6:34
    See on lihtsalt tavapärane Drupal paigaldus, ainult Dev Desktop
  • 6:37
    läks edasi ja lõi mulle andmebaasi valmistas ette seadistuse.
  • 6:41
    Mis on mugav.
  • 6:42
    Ja tõesti, olen praktiline ja sean õige linna mitte ainult ajatsooni.
  • 6:48
    Ja kui salvestan selle, siis seal ongi mu uus Drupal 8 kohalik veebisait,
  • 6:56
    millega mängides saan aimu, mis toimub Drupal 8 maailmas,
  • 7:00
    ja aidata selle paremaks tegemisel.
  • 0:13
    U prvoj lekciji Naučite Drupal serijala pogledat ćemo kako
  • 0:17
    instalirati Drupal na vaše osobno računalo kako se ne bi morali
  • 0:21
    zamarati instalacijom na web serveru. To je naročito važno pri radu
  • 0:25
    s razvojnom verzijom koda zato što postoji mogućnost sigurnosnih
  • 0:28
    propusta. Zasigurno ih ne želite priuštiti posjetiteljima na webu.
  • 0:32
    Također je mnogo lakše sve potrebne radnje raditi na vlastitom računalu
  • 0:36
    imali pristup Internetu ili ne. Tako da ćemo proći
  • 0:40
    kroz proces postavljanja lokalnog web servera na kojem možete pokretati vlastite web stranice
  • 0:44
    te ćemo skinuti i instalirati Drupal 8.
  • 0:47
    U ovom videu ćemo pogledati Drupal ljestvicu na drupalladder.org adresi.
  • 0:51
    Ako pogledamo na dno ljestvice vidjet ćemo kako je prvi korak na ljestvici
  • 0:55
    lokalna instalacija Drupala. Ako kliknete na njega, uočit ćete
  • 0:58
    kako postoje tri koraka koji su obuhvaćeni prvom lekcijom: Instalirajte (eng.) Dev Desktop,
  • 1:03
    Skinite Drupal 8, te Pokrenite Drupal 8 na vašem Dev Desktopu.
  • 1:07
    Na taj način ćete lokalno imati radnu verziju Drupala.
  • 1:11
    Kako bismo instalirali Drupal, potreban nam je web server na našem računalu.
  • 1:15
    Postoji mnogo načina kako učiniti navedeno.
  • 1:18
    U ovom ćemo videu koristiti Dev Desktop.
  • 1:21
    Dev Desktop možete pronaći na acquia.com adresi u odjeljku za besplatno skidanje.
  • 1:27
    Jednom kada ga nađete, skinite Drupal 7 verziju
  • 1:29
    za operativni sustav koji koristite. Ja koristim Mac. Slobodno kliknite
  • 1:33
    (eng.) download gumb za Mac verziju. Otvorit će vam se dijalog s upitom,
  • 1:37
    ali možete i samo kliknuti na link ispod koji kaže: "Ne, hvala.
  • 1:40
    Samo želim skinuti datoteku." Ja ću samo skinuti
  • 1:43
    datoteku na svoj desktop. To može potrajati par minuta.
  • 1:46
    Nakon toga otvorite direktorij u koji ste skinuli datoteku - ja sam ju skinula na desktop.
  • 1:51
    Primijetit ćete kako se radi o datoteci koja ima .dmg ili .exe ekstenziju.
  • 1:54
    Instalirajte ju kao i bilo koju drugu aplikaciju na vašem operativnom sustavu.
  • 1:59
    Tako da ću samo proći kroz uobičajene korake,
  • 2:02
    pokrenuti instalaciju nakon čega će se pojaviti
  • 2:07
    čarobnjak koji će nas provesti kroz istu.
  • 2:10
    U procesu instalacije prvo dobijemo informaciju što ćemo
  • 2:14
    instalirati, što je uvijek dobro znati i provjeriti.
  • 2:18
    Ugovor. Lokacija gdje će Dev Desktop biti smješten.
  • 2:25
    To je moj direktorij za aplikacije. Nakon toga slijedi lokacija gdje će
  • 2:28
    biti zadana web stranica - što je moj (eng.) Sites direktorij.
  • 2:33
    Vi možete slobodno odabrati bilo koji direktorij.
  • 2:35
    Savjetujem da ne mijenjate portove kako ne biste slučajno
  • 2:37
    imali problema s Apache i MySQL aplikacijama koje mogu aktivne na vašem sustavu.
  • 2:43
    Tu ću upisati uobičajene Drupal postavke
  • 2:48
    za moju prvu Drupal stranicu koja će biti automatski postavljena.
  • 2:53
    Provjerite sve i kliknite dalje, nakon čega počinje instalacija.
  • 2:59
    Dok čekate kraj instalacije možete popiti kavu.
  • 3:03
    Kada završi još će počistiti zaostatke
  • 3:08
    nakon čega mogu pokrenuti novi Dev Desktop.
  • 3:15
    Sada imamo Dev Desktop koji uredno radi kao lokalni web server
  • 3:18
    i pokreće Drupal 7. A mi trebamo nabaviti Drupal 8.
  • 3:23
    Vratimo se na lekciju. Ako kliknem na link za skidanje Drupal 8
  • 3:29
    odvesti će nas direktno na adresu koja nam treba,
  • 3:33
    što je prilično zgodno. Tu se nalaze sva izdanja Drupal jezgre,
  • 3:37
    a ja ću odabrati verziju 8.x i skinuti 8.x-dev paket
  • 3:43
    što je razvojna verzija s kojom se želimo igrati.
  • 3:47
    Također ću vam pokazati kako možete učiniti isto bez direktne adrese,
  • 3:51
    u slučaju da ju nemate. Ako odete na (eng.) Download & Extend vidjet ćete
  • 3:56
    samo Drupal 7. No, kako želimo Drupal 8 idemo na Drupal jezgra tab
  • 4:00
    gdje ćemo pronaći popis svih 6 i 7 verzija.
  • 4:05
    Ako kliknem na link ispod za pregled svih verzija
  • 4:08
    mogu dobiti najnoviju razvojnu verziju, što je ista stranici od maločas.
  • 4:13
    Odabirem 8.x nakon čega mogu vidjeti Drupal 8.x-dev verziju.
  • 4:19
    Što je točno ono što nam treba kako bi doprinijeli razvoju jezgre.
  • 4:24
    Odaberite .zip ili .tar datoteku klikom i skinite ju.
  • 4:27
    Ja ću je snimiti u moj Sites direktorij gdje se već nalazi
  • 4:31
    automatski postavljena Acquia Drupal stranica, ali i moje ostale stranice.
  • 4:36
    Snimit ću je direktno u taj direktorij te se vratiti
  • 4:40
    u Sites direktorij i odpakirati datoteku
  • 4:45
    kako bih dobila vlastito Drupal blago.
  • 4:49
    Rezultat je drupal8xdev direktorij u kojem se nalazi Drupal jezgra.
  • 4:54
    Njegov sadržaj izgleda drugačije. Spomenuti direktorij
  • 4:58
    ću preimenovati i nazvati ga jednostavno drupal8.
  • 5:02
    Vi možete slobodno odabrati bilo koje ime.
  • 5:05
    OK, a sada na zadnji korak lekcije
  • 5:08
    u kojem ćemo pokrenuti našu novu Drupal 8 stranicu
  • 5:11
    pomoću Dev Desktopa.
  • 5:14
    Prvo ćemo pokrenuti Acquia Dev Desktop.
  • 5:19
    Primijetite kako postoji gumb za postavke.
  • 5:22
    Tu se nalaze uobičajene postavke, kao npr. podešavanje portova,
  • 5:25
    ali ono što mi želimo napraviti jest prvo promijeniti
  • 5:29
    verziju PHP-a na 5.3 koja je potrebna za Drupal 8. Ne smijemo
  • 5:34
    zaboraviti to promijeniti ili naša Drupal 8 stranica neće raditi dobro.
  • 5:38
    Nakon što snimimo navedene postavke desit će se restart.
  • 5:41
    Sve izgleda u redu, tako da se mogu vratiti i postaviti web stranicu.
  • 5:45
    Primijetite kako zadana web stranica već koristi ispravnu
  • 5:51
    verziju PHP-a koja iznosi 5.3.
  • 5:55
    Sada ću pronaći drupal8 direktorij gdje smo skinuli Drupal jezgru.
  • 6:00
    Želim da mi kreira novu bazu podataka
  • 6:04
    koju ću jednostavno nazvati drupal8.
  • 6:07
    Također želim postaviti poddomenu preko koje ću otvoriti stranicu.
  • 6:13
    Nakon klika otvoriti će se Drupal instalacija u kojoj će automatski
  • 6:19
    biti postavljena baza i ostale stvari koje su potrebne kako bi Drupal 8 bio instaliran.
  • 6:24
    Nakon toga samo upišemo informacije o stranici.
  • 6:30
    Zaista brzo, npr. trebamo upisati ime stranice,
  • 6:34
    u pravilu to je uobičajena Drupal instalacija u kojoj je Dev Desktop
  • 6:37
    unaprijed kreirao i postavio bazu podataka.
  • 6:41
    Što je zgodno.
  • 6:42
    Tako je, posebno ću namjestiti grad, a ne samo vremensku zonu.
  • 6:48
    Jednom kada to sve snimim dobit ću novu Drupal 8 lokalnu web stranicu,
  • 6:56
    preko koje mogu vidjeti što se dešava u Drupal 8 svijetu
  • 7:00
    i kako mogu pomoći učiniti ga boljim.
  • 0:13
    En esta primera lección de Learn Drupal Series veremos como
  • 0:17
    instalar Drupal localmente en tu propia computadora, en vez de lidiar con
  • 0:21
    un servidor web que está afuera, en la web. Esto es muy importante cuando trabajas
  • 0:25
    con versiones de desarrollo de código, porque podrías introducir vulnerabilidades
  • 0:28
    de seguridad. No querrás que las personas se encuentren con ellas en la web.
  • 0:32
    Además, es mucho más fácil trabajar en tu computadora local y hacer todo
  • 0:36
    lo que tienes que hacer, estés conectado o no. Por lo que vamos a
  • 0:40
    ver cómo configurar un servidor web local, para que puedas correr tus sitios web
  • 0:44
    y luego descargaremos e instalaremos Drupal 8.
  • 0:47
    En este video estaremos viendo la Escalera de Drupal
  • 0:51
    Y si vamos hacia abajo y vemos el primer paso, ubicado en la base de
  • 0:55
    la escalera: Instalar Drupal localmente. Cuando hacemos clic allí, verás
  • 0:58
    que hay tres pasos implicados en esta lección. Instalar el Dev Desktop.
  • 1:03
    Descargar Drupal 8 y luego iniciar Drupal 8 en tu Dev Desktop.
  • 1:07
    Esto nos permitirá obtener una versión local de Drupal funcionando.
  • 1:11
    Para instalar Drupal localmente, también necesitaremos tener un servidor web en nuestra
  • 1:15
    computadora local. Hay muchas formas de conseguir esto.
  • 1:18
    Pero en este video utilizaremos el Dev Desktop.
  • 1:21
    Puedes encontrar Dev Dedstop en Acquia.com, en su sección de descargas gratuitas.
  • 1:27
    Una vez allí, descargaremos la versión de Drupal 7,
  • 1:29
    elegiremos nuestro sistema operativo. Yo uso un Mac. Así que haré clic en
  • 1:33
    el botón de descarga para la versión Mac. Aparecerá una ventana pidiendo
  • 1:37
    algo de información, pero puedo hacer clic en el enlace de abajo que dice: "No gracias,
  • 1:40
    solo llévame a la descarga". Y sigo adelante y lo descargo
  • 1:43
    a mi escritorio. Puede que tome algunos minutos.
  • 1:46
    Así que, una vez descargado, vayan a donde se descargó. Yo lo puse en mi escritorio.
  • 1:51
    Verán que es un archivo .dmg. En Windows será un .exe.
  • 1:54
    Lo van a instalar como cualquier otra aplicación en su sistema operativo.
  • 1:59
    Así que yo seguiré a través de los pasos normales,
  • 2:02
    correré el instalador aquí y esto abrirá y ejecutará el asistente de
  • 2:07
    instalación para acompañarnos en el proceso.
  • 2:10
    Mientras avanzamos con el instalador, lo primero que me hará saber es qué estoy
  • 2:14
    instalando, lo que siempre es bueno saber. Por lo que me hará ver todo eso.
  • 2:18
    El Acuerdo de Licencia. Ubicaciones - Dónde estará el Dev Desktop realmente?
  • 2:25
    Esto es en mi folder de Aplicaciones. Y luego todos mis sitios - el sitio que se está creando
  • 2:28
    y todos los otros sitios que quiera estarán en mi folder Sites, lo que es común.
  • 2:33
    Pero tu puedes ubicarlos en donde quieras.
  • 2:35
    Puertos - Yo recomiendo que los dejes así, para que no surja algún conflicto
  • 2:37
    accidental con otros programas de Apache o MySQL que puedan correr en el sistema,
  • 2:43
    por ejemplo MAMP. Mmm, continuaré y rellenaré la configuración básica de Drupal
  • 2:48
    para mi primer sitio Drupal - que avanzará y lo creará por mí.
  • 2:53
    Revisamos y luego hacemos clic en Siguiente. Y empezará la instalación.
  • 2:59
    Esto tomará su tiempo, por lo que a lo mejor quieras ir por un café
  • 3:03
    y luego, ya sabes, volver a esto. Cuando termine, va a ejecutar
  • 3:08
    su limpieza y luego yo ejecuto el nuevo Dev Desktop.
  • 3:15
    Está todo bien y bueno, ahora tenemos Dev Desktop, un servidor web local
  • 3:18
    con algo de Drupal. Pero tenemos Drupal 7. Necesitamos obtener Drupal 8.
  • 3:23
    Así que volvamos a nuestra lección. Y si hacemos clic en el enlace para descargar Drupal 8, en ella
  • 3:29
    veras que tenemos un enlace que nos lleva directamente a donde necesitamos estar,
  • 3:33
    lo que es bastante útil. Mmm y ésta es para las versiones del core de Drupal
  • 3:37
    y puedes seleccionar la versión 8x del API y luego obtener la 8x dev
  • 3:43
    - la versión de desarrollo para Drupal 8 con la que queremos trabajar.
  • 3:47
    También te mostraré cómo puedes hacer esto sin usar el enlace directo.
  • 3:51
    Es útil, pero puede que no lo tengas. Si vas a Dowload & Extend verás que esto es para
  • 3:56
    Drupal 7 y nosotros queremos sólo Drupal 8, por lo que iré a Drupal core directamente,
  • 4:00
    para tener la lista completa. Y debajo de ésta, otra vez, solo está 7 y 6
  • 4:05
    pero si sigo por debajo de este enlace que dice "View all releases" - allí es donde
  • 4:08
    puedo obtener el último trabajo de desarrollo, y esto me lleva de vuelta a la misma pantalla
  • 4:13
    Dije que quería la versión 8 y ahora pueden ver que tengo Drupal 8x dev.
  • 4:19
    Lo cual es exáctamente lo que queremos, para ayudar con el core. Descargamos el zip o tarball,
  • 4:24
    lo que deseen. Así que voy a hacer clic y descargarlo.
  • 4:27
    Avanzaré y lo guardaré en mi directorio Sites. Verán que allí es donde
  • 4:31
    se colocó el sitio Acquia Drupal inicial y que el resto de mis sitios también están aquí.
  • 4:36
    Así que lo guardaré directamente en ese directorio. Una vez que tenga eso
  • 4:40
    descargado, iré de vuelta a Sites y lo descomprimiré.
  • 4:45
    Para que pueda obtener las bondades de Drupal.
  • 4:49
    Esto crea un folder llamado drupal8xdev. Pueden ver esto en el Drupal core.
  • 4:54
    Sus archivos resultan diferentes. Y también puedo cambiarle de nombre a lo que quiera,
  • 4:58
    solo por razones de conveniencia. Yo lo voy a llamar solamente Drupal 8.
  • 5:02
    Pero puedes llamarlo como desees.
  • 5:05
    Listo, así que ahora vamos hacia el final de ésta lección -
  • 5:08
    que es realmente hacer que el sitio Drupal 8 que acabamos de descargar
  • 5:11
    corra en nuestro Dev Desktop.
  • 5:14
    Empezaremos con iniciar el Acquia Dev Desktop. Háganlo correr.
  • 5:19
    Y verán que tenemos un botón de configuraciones aquí.
  • 5:22
    Así que hay algunas configuraciones estándar en términos de cómo queremos usarlo en puertos
  • 5:25
    pero lo importante por hacer - primero que nada es cambiar nuestra
  • 5:29
    versión de PHP. Drupal 8 requiere la 5.3. Así que debemos asegurarnos que la hayamos
  • 5:34
    cambiado o nuestro sitio Drupal 8 no va a trabajar correctamente.
  • 5:38
    Así que apliquemos esas configuraciones antes de seguir. Esto reinicia las cosas.
  • 5:41
    Todo se ve bien. Así que ahora volveré aquí y configuraré mi sitio.
  • 5:45
    Y notarán que el sitio original que configuramos está ahora en la 5.3, así
  • 5:51
    que estoy usando la versión correcta de PHP.
  • 5:55
    Ahora voy a dar un vistazo al código de Drupal 8 que he descargado, correcto?
  • 6:00
    Por lo tanto, sólo voy allí. Quiero que cree una nueva base de datos por mí.
  • 6:04
    Sólo la voy a llamar drupal8. Podemos ser creativos.
  • 6:07
    También quiero configurar un subdominio para que ésta sea la url a la que vaya para este sitio en particular.
  • 6:13
    Así que avanzo y hago clic en ésto. Y realiza la instalación de Drupal por mí.
  • 6:19
    Configura la base de datos y demás, así que ahora sólo correré el instalador de Drupal
  • 6:24
    y ya tengo Drupal 8 instalado. Seguiremos y llenaremos la información del sitio.
  • 6:30
    Bastante rápido... Nombre del Sitio. Sólo necesito solo llenar esto -
  • 6:34
    es sólo la información normal de la instalación Drupal, lo que pasa es que el Dev Desktop
  • 6:37
    avanzó y creó la base de datos por mí y parte de todo eso ya está configurado.
  • 6:41
    Lo que es útil.
  • 6:42
    Y sí, voy a ser minuciosa y cambiar a la ciudad correcta, no sólo la zona horaria.
  • 6:48
    Y luego que guarde esto, aquí esta mi nuevo Drupal 8, un sitio web en local,
  • 6:56
    así que puedo empezar a jugar con lo nuevo del mundo de Drupal 8,
  • 7:00
    y ayudar haciéndolo aún mejor.
Loading ...

Install Drupal Locally with Dev Desktop

Loading...

In this first step of the Learn Drupal Ladder we will install Drupal on our computer. This follows the instructions to Install Drupal locally on learndrupal.org. We start by getting and installing the Dev Desktop, which is an all-in-one web server which comes with Drupal 7. We then install our own Drupal 8 site in Dev Desktop.

If you do not wish to use Dev Desktop as your local web server, we have videos for three other web servers, based on operating system:

Additional resources: 

More information on Development Environments