Intro to Drupal 8 #1: How to Install Drupal 8 and Initialize a GitHub Repo

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to Toronto jezebel.com IMPD or CD Toronto website developer specializing in Drupal and in this new video tutorial series I want to introduce you to Drupal 8 that said I'm not entirely sure where this series is gonna go I'm basing it off of a blog post by Matt crossed off and I really apologize if I butchered that name but Matt posted on one of the Drupal user groups about how he's having trouble you know getting started root late and so wasn't a lot of resources out there so he went ahead and created a great blog post on some of the gotchas and learning butcher plate as he went ahead to install the site so I'm largely gonna rely on this blog post as I work through Drupal 8 and try to get my way and in doing so all create a video tutorial series out of it to help you get your site up and running so to begin with what we'll cover today is installing Drupal 8 and so for me what I had to do was install a new version of lamp get my Drupal 8 site installed a new database and so once its installed I can show you how to navigate through it I'll show you some of the new file structures for Drupal and we'll also get this site up on the git repo so that you have access to it on github before we do that I'm over at Toronto on set developer comm slash store here you can purchase my videos tutorial series as I complete them I've been a little bit delinquent in that I'm missing two up here I should have a module development series as well as the Drupal commerce series hopefully I'll have those up soon but I appreciate all those that have gone ahead to purchase video tutorial series it helps me to continue to develop them keep them free and keep them frequent and if you'd like to give back but you can't afford the $20 please just leave this video a thumbs up or leave a comment on youtube also greatly appreciate it if you have any questions please use youtube is perform it helps me because everybody benefits when you ask a question I answer it and as well I've been delinquent I know I've gotta be better at that so with all that said why don't we go ahead and take a look at Drupal 8 so before we do that you'll want to go over drupal.org slash requirements here you want to note what you need from a database PHP and server-side so from web server you so use Apache nginx or Microsoft so I'm gonna be using Apache because we're gonna be using a lamp stack windows Apache MySQL PHP nginx use it at work it's also great in terms of the database you'll note for Drupal 8 here we need my sequel 5 121 or greater and then you can see Maria DB for Conan and a couple others I'm going to be using my sequel you could obviously go to a post grass or if you wanted to try a sequel light I'm not sure why you would unless you're going to do something mobile I guess I don't know in terms of PHP you'll notice here this tripped me up when I first went to record this video tutorial series or video tutorial you need 5 for 5 or greater from PHP I had 5 3 installed and so I was getting some errors can figure it out and then I realized I hadn't checked the requirements so in doing so realized I had to uninstall WAMP so you'll want to go ahead and do that as well if you're on Windows if you're on Linux you're gonna have a lot easier time you can just upgrade your components as you need to but with Windows uninstall lamp then you're going to go over to lamp server calm I grabbed the 32-bit version it's obviously independent on your computer and when you click on it you can see download directly here but take note of the fact that you need this visual studio stuff if you don't you don't have it properly I guess the proper installation you're gonna get some DLL files missing an Apache won't install great so you want to go ahead remove whatever you have there and then install this and once you do that you'll eliminate the DLL errors and you may need to go into your Apache I know you can't see what I'm doing right now I'm just trying to see specifically the WAMP server and you'll click on bring up the menu go to Apache you go to service and then you might not have this service installed so you'll click install service I'm a man if you're getting problems you want to test port 80 but again quick Google search will see Stack Exchange come up right away with with a good solution for you there so just make sure that Apache gets installed your green on wamp and then you're good to go and install Drupal so why don't we go ahead and do that I'm gonna go back to my command line here and i'm using c YG win so I'm just in my WWWE here and you'll see that I've got Drupal 8 so what I've gone ahead and done is went to drupal.org slash node a slash 36 t / release and so this is releases for Drupal core and I went and got the 8 0 0 beta 4 again we're at node / 2 3 9 48 13 so at the time of recording this I'm using this it's likely gonna change by the time we're finished but you'll see known issues here still 85 critical issues with this beta release so we're likely going to change go ahead and grab that I did and then I unzipped it and it's actually huge so that's why I didn't bother showing you that now what I'm going to do is I'm just going to move that to a little bit more friendly site and of course I spelled that wrong so 8 to d8 stay in the box so I'm moving that now you'll see I've got d8 sandbox why can't I see it whatever it's there so if we go D 8 sandbox here is my Drupal 8 site now if I actually show you TWD sandbox this is a Drupal 7 site notice that the file structure has changed significantly that is because most of the core files are actually now in core which makes a little bit more sense because when you look at the root directory here a lot of times new users to Drupal would get tripped up with this modules profiles and aims directory those were originally for corner Drupal 7 they're not for corn Drupal 8 so you'll put your contributed modules in this root directory modules in and profiles and the profiles folder and same as the themes and if you actually take a look at these sites folder if you're familiar with Drupal 7 this is where your stuff would go if you take a look at the readme file it tells you exactly that it's not recommended that yours go in the slash module /name /parent look at Cornell you can see a very similar structure but you'll see now we've got some and some other things and there's there's some really cool stuff going on with the ammo and even development environments and all that kind of stuff but we're gonna get into that throughout this series so that was a quick tangent as I said I've got this in Drupal 8 sandbox now I can go to localhost / d8 sandbox and hopefully should get my installation screen which I do so I'm going to go ahead and save and continue because I'm working in English I'm going to choose a standard installation verify requirement should happen without any issue you'll see I don't actually get to that tab if you do I did on my Linux box and it was largely with regards to write permissions so Drupal couldn't write to certain folders and create the files that needed to do that so if you have issues here it's likely gonna be write permissions new quick google search you'll find you just need to have your server set up and it's usually if you're using apache you're going to want the owner to be ww - data and again there's a good Drupal page on that so you can find that easily again my database type I'm using my sequel so I've got that set up here my database name is gonna be Drupal 8 sandbox I'm gonna actually show you how to create that and this is a brand new installation so my my name is going to be root and then my password I'll obviously have to change that later but you can't see what I'm doing here I'm just clicking on the the WAMP icon then I'm going to open up PHP myadmin what you already have so click over here and I'm just going to create the sandbox and now I've got that as a database so I can go back here and I can look at the Advanced Options I don't need to do anything this is all default if you've changed anything or you customize anything you're gonna want to update those but I haven't so I'm just going to go save and continue and now this is going to take a while to actually install the site so while that installs I'm just going to pause the recording and we'll come back once it's done okay so now it's done so I'm just going to go ahead and call this eh sandbox I'll just go through your Toronto since you all can see it anyways everyone knows me as your worse just an easy password here default countries in Canada so is this America faster no yep there we go don't want email notifications to save and continue okay so that's it now I'm just going to tell Google a sir save that and you'll see here we've got a Drupal 8 installation so that's all that I wanted to cover in this video tutorial for Drupal what I did want to show you and flag is that now for all my videos tutorial series I'm gonna make sure that we get hub repository so that you can get the code so we're gonna go ahead and do that as well so if you haven't used github you want to check this out if you have you can stop now because that's the end of the Drupal part in the next video tutorial will actually take a look at getting Direction up to speed so that we can be using dredge to do a lot of cool stuff so gonna go over my github account here you'll see I've got repositories going to create a new one just going to create the 8 sandbox actually you don't want a capital there hopefully oh yeah there we are d8 sandbox so just drill a sandbox site following yep we're good we'll go ahead and create that repository so now we've got this what I want to do is I want to now go over my site and you get in it okay and then I think I've got to get ignore no let's touch not yet pick your and then get a nor and just need to verify the syntax but I think we just add I want to make sure my settings dot php' is ignored and you don't want I'll be able to check that once we go back here we're just gonna go get this is gonna take a while because there's so many files so we'll check back once it's done okay so that's done so I should be able to go get status let's go when your files never go get status shimmy a little too tight crap settings you when setting that PHP so you see I just got one fault settings that PHP it doesn't actually include my settings that PHP and the reason why I when you're using it you want to remove that is because it has your database configurations in it so you would know my user name of my password it's not a big deal when I'm working on a local host but if you're pushing this up and it's going to be a production site or who knows you definitely do not want to include your database credentials in there there's probably some other files that I'm not gonna wanna include in there which will pick up as we go along but right now this will serve the purpose because this is just going to be a local sandbox site anyways so just gonna call this initial commit again this will might take a while so I'm just gonna go ahead and pause this video and we'll come back to it after okay so now that's done what I have to add here is now we're gonna set up our to track our local repository and this will oh it didn't get me there sometimes this gives me an error where it won't let me add a remote origin it gives me some get problem so what I usually end up doing is just typing in git remote at origin HTTP equal github.com that seems to work and when I do that then I have to go into him yet then what is it uh yeah config and so when you go in here you can see the actual URL and so if this would just get calm I just replace that with the proper URL I'm just flagging that in case you're also using c YG win and you're on a Windows box and you're getting that error again you might not because here I didn't get it so now I'm just gonna get push - you origin/master and what that's saying is just push this local repository up to my remote repository and the - view is saying to track it so I'm pushing the master branch just typing in my username which you all know because you'll see and then my password I should probably set up SSH but with Windows I just haven't gone ahead to do that I have it set up on my Linux box and it just avoids you having to type in your username and password this will take a while there's no point you watching it but so we can just end here like I said quick recap went ahead you have to install lamp the new version on Windows because I'm going to need a new version of PHP once you have that just go ahead download the latest version of Drupal 8 you're going to extract it put it into your lamp www folder from there you're going to navigate to localhost / whatever it is that you've created get the site ID get to the installation requirements you're going to need your database so go ahead and use PHP myadmin or whatever other tool great database pop in those credentials and that should be it you can always just grab this repository and have what I'm working on if you want to be at the same pace with me I'll make sure to excuse me I'll make sure to push to it each time so if you're starting from the beginning you might have an updated version but you can always roll back and they get commits that's it in the next video tutorial and I plan on covering drush unless - change so until then thanks very much for watching and again if this video tutorial helped you please leave a comment give me a thumbs up always appreciate it and if you have any questions please use youtube we'll see you for the next video tutorial thanks very much for watching
Info
Channel: Web Development Tutorials
Views: 8,593
Rating: 4.9384613 out of 5
Keywords: Drupal (Software), How-to (Website Category), Website (Industry), Software (Industry)
Id: zj10WEnEWIo
Channel Id: undefined
Length: 14min 43sec (883 seconds)
Published: Sun Jan 04 2015
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.