 So I'm talking about Lando, which is a similar tool to local by flywheel This one's a little different though because we have no gooey whatsoever. It's just all command lines So get into that hardcore stuff you're talking about earlier If you guys hate Star Wars jokes, you might want to leave the room. There's going to be a lot So you'll have that to look forward to but hopefully it won't be too bad So first of all, who am I? It's a good question. My name is RJ May I am a web developer for a company called American Expedition Vehicles down by Detroit. I work at the Wixom office And I have a really really cool job where I literally only have to build one website That's the only thing I'm responsible for so I'm pretty spoiled there I've been there for about a year and a half. It's really cool And what happens was about a year ago I started building a new website that one website I was talking about and I noticed that I was getting pretty Frustrated with using tools like Vagrant and things like that and I wanted to try something different and Due to our new web host Pantheon they pointed us towards a tool called Lando and that's what got me started on this So what is Lando? It is a version-controlled container-based local development setup thing It's kind of hard to explain what it is because it does so much stuff and I think it's pretty cool So what does all that really mean? Well because it's version-controlled you have this little file called your Lando.yml or YAML file Where your entire dev environment is stored in one place and that means that what I can share that file to other people And they can just take that whole setup that I have and bring it over to their machine Also because it's container-based like Benjamin was talking about everything's nice and lightweight We don't have all that extra weight you get when you're running like a vagrant box or something like that So I'm just gonna show you a couple of cool simple things you can do with Lando We'll start by making a new site. All right, so the first thing we do is We do a Lando in-nit And the cool thing about Lando is it has a bunch of these pre-configured. Yes. Sure. No problem You know, I've never actually had to do that before so Hey That was easy. All right, cool better more It is platform independent you can use it on Windows too, I believe you can use it on Linux, but I've never really looked into it Good question though You can tell I'm a little nervous here, but I think I can pull us off Yeah, so Lando comes with these pre-configured recipes, which are just simple obvious ways to start out It comes with a ton of them. Obviously WordPress is what we're gonna be working with today That's what my web route is and We'll call this a new Lando Boom, that's it. I'm done. It's already started off. It's already created a little Lando yaml file They'll get us started so now what we've done is we've told Lando to kind of get its thoughts together And how we want to get going but we haven't actually started the machine yet. So if you do that We just type Lando start that's looking good. Oh Yeah, it works best if you are connected to the internet so we can download all the stuff that It needs to do its thing Pro tip there There we go. Okay. Oh Hey, what's up, dude? All right, cool. So already we're getting we're off to a good start here And then because Lando comes with WPC li already ready to go from the start you can use those commands So did you go? No, right. I think that error message I had earlier might have tripped it up So I'm just gonna have it start again Yeah, okay, cool. So did you guys catch Brian's opening speech where he's talking about the slow internet connection? Yeah, that might be give me a little a bit of a headache right now. Sorry about that While I'm waiting for this to download any questions Right now it's downloading the recipe. It's getting all those containers together. So it's gonna be going to There it goes. I'm just going out to dockers. I Forget though the gizmo is called Yeah, dr. Hub and putting all that stuff together. I think we've got it now There we go. Okay, cool. So Again using this with Lando WPC li. It's really easy to get sites up and running again Hopefully this slow internet connection is not going to make me stand up here and improvise Awkwardly for too long, but we'll do what we can. Oh, it's it's really taking the sweet time. That's good and then From there you can do Lando WP Install and get going from there. I'm not bright I'm not gonna get run you guys through how to do a little WordPress install because I think we've all done that before at some point But you get the core idea with that So right off the bat We've got a pretty cool thing going here where we can put together a new Lando installation very quickly and we can put together a new WordPress installation very quickly and then when you're done All you do is get your database info from Lando info And the nice thing is it just spits out everything you need you get your URLs all your patchy information if you're using a patchy All your SQL information and your creds for your database Username post all that good stuff. So really really simple stuff Developing with Lando though is my opinion is where the fun begins because it's so extensible So it comes with a lot of these cool tools installed like WPC li that I've been using and abusing up here today But you can also also comes with a composer. You can also run PHP commands. He has a PHP CLI built into it My sequel obviously etc The nice thing about this too is it's really easy to add more tools So I use gulp for all my CSS needs like when I need to compile my sass minify it things like that One of the cool things you can do is You could add new services to Lando really easy So I'm just gonna grab this guy here so this is our Basic Lando that why the ammo file this is where all your Lando Configurations get stored as you can see this one's pretty straightforward and I'm just gonna add in gulp here and save it Now one thing about this is it does need to spin up new containers when you add a new service So you have to do a Lando restart after you do something like that Absolutely. Yeah, yeah Good example for this kind of thing is I use Redis for our production site And so I need that locally so I can flush it and things like that And so I just added that on as a service and good to go and I'm starting to experiment more with elastic search and things like that And that's just another tool you can just throw in there and it's all comes right with it now Cool. All right, so now you can do a Lando gulp Works better if you have a gulp file set up I obviously don't and I'm not gonna teach you guys how to do a gulp file today because that's a whole other couple hours Headaches right there, but you get the core idea So like I said at my job, we're hosting with Pantheon So with them I can just type Lando push and it will send my whole setup directly to Pantheon If you're using a different host flywheel Like Benjamin was saying You're gonna have different deployment methods depending on what you're using there You can integrate it with Travis Which is something that I've never gotten into myself But I have talked to a couple people online and said they've had good results with it If you're the kind of guy who wants to do sort of a continuous integration there And finally you can do it the old-school way with just FTP and export out your database With WPC li install it's really easy to do a quick search and replace and just go so it's pretty slick One of the things I like most about Lando though is yeah, it's awesome for WordPress But you can do a lot more with it So I'm kind of pivoting a little bit and we'll be learning more about Lara Bell in the future But I can still use Lando for that because it's just running PHP under the hood But you can also do other cool things like Python Ruby or just a basic lamp stack for whatever you're trying to build out My favorite thing about Lando though is for example last year. We were in crunch mode. I was hitting a deadline I actually brought on a freelancer with that Lando that YAML file All I had to do is give them that one file. She was able to Run Lando start and get going within about five or ten minutes and included all of our gulp settings Everything was good to go right from there. So it's really easy to collaborate I'm the only developer at my job so I don't run at that kind of thing too often But if you're working on a large team and you need you're running that kind of problem It's like oh worked on my machine and not on yours Lando kind of solves that really quickly and easily There's a ton of really other cool things that I haven't gotten to touch with it yet Like PHP unit like it says talking about elastic search and other tools like that Mail hog I'm doing a lot now with sending out Automated emails and things like that. So it's some pretty cool stuff. You can do with it My favorite thing about this is it's still growing. It's being actively developed It's like a year old the guys who are building it have told me they're bringing out some cool new features Excuse me. I was chatting with them. There is talk of them doing a gooey It was built with that in mind, but they haven't done one yet So if you're the kind of person who gets a little creeped out by the command line I know I was up until fairly recently There is hope there will be some cool new stuff coming down the pipe That's all I've got any questions. Yes Well I mean so the idea is you would treat your Lando file the same way you would anything else with git or it's just another file So it'll go through the whole merge conflicts and things like that just like you're describing But the nice thing is it kind of brings everything together at one point and then you can pull it back out so like one headache I ran into was We were met I'm I minify my CSS files with gulp And then the other developer who was also doing CSS works used in the same thing And so when we were trying to merge codes gulp Or excuse me git does everything on a line-by-line basis. So it created some headaches there. So all I did was I Changed one setting it changed my gulp file to not minify just while we're in production testing and She got that change almost immediately. So we were right back in sync within a couple minutes Yes When you're pushing to pantheon it actually asks you do you want to push files? Do you want to push code and do you want to push database and you can choose? Yes, no, or none of the above So you get that option there I Generally just never push the database because of how pantheon's workflow works But if you're also I do e-commerce. So obviously that creates some headaches there But if you want to push the database you certainly can yes I Believe they are I I'm not too familiar with the under the hood stuff on this. I know one of the biggest differences between this and local is that You're running the vagrant machine. This is just using the docker directly on my computer Eric It's just your basic install. I'm sure you can customize it to do different things like that I know pantheon has some special settings that they use if using their recipe anybody else Yes, sir. I've never used it on multi-site I imagine the setup would be the same as any other WordPress installation I can't think of any reason why it would give you any trouble with that. I mean it's Under the hood is still pretty much the same stuff Anybody else? Oh Yeah, cool Anybody else? All right. I'll just stand here and look awkward for a few minutes. No, all right Thank you very much