Provisioning a Server 0:00Let's have a crash course in what we can do with Laravel Forge. Let's whip up a new server. The database name of Forge is fine, and let's go ahead and create that, and give it just a few seconds to build. If I scroll down to Active Servers, you can see that it's currently building. Okay, after a moment or so, our server is now active. Also, we can see that Forge has emailed us all of our relevant passwords and usernames. Now if I switch to GitHub, you'll see that I have just a little demo app that I'd like to get on the web. So I will copy the URI here, and if I switch back, let's go into the default site. Deploying from GitHub 0:31to get on the web. So I will copy the URI here, and if I switch back, let's go into the default site. We will manage it. So I will paste in the repository. We will clone the master branch. I do want to run a Composer install, and when that's done, we will Artisan Migrate. So let's do that. And once again, if we give that just a moment to install, and there we go. It's now installed. Also, I want to set it up so that every time I push updates to GitHub, it will automatically Enabling Quick Deploy 0:55It's now installed. Also, I want to set it up so that every time I push updates to GitHub, it will automatically pull in those changes. So I will enable Quick Deploy. And if at any point I want to change what exactly happens, I can update my deploy script. But this is fine. All right, so let's go ahead and view the site. Now we don't have a home page, but if I browse to slash tasks, sure enough, here's our scaffolding app. Add a new task. Forge.Add a new task. Forge. Is awesome. Submit. And this is using, in this case, a SQLite database. So everything works exactly the way we'd expect. And I can now share this with anyone in the world. Now, of course, in real life, some applications are a bit more complex. But that's okay. Forge can help us. Configuring Workers and SSL 1:36But that's okay. Forge can help us. If we need to set some environment variables, we can do it right here. Or maybe we want to fire up a couple QWorkers using the iron connection. And let's do a maximum number of three tries. Start up that worker, and we are good to go. Next, maybe you handle payments and you need to set up an SSL certificate. Click on the SSL tab, fill out the information, get your signing request, then purchase your certificate wherever you want, and then return to Forge to paste in your key. It couldn't be simpler. Managing Multiple Sites 2:01certificate wherever you want, and then return to Forge to paste in your key. It couldn't be simpler. Finally, if at any point we decide that we want to roll everything back and start with a new project, we of course can scroll down and choose uninstall repository, and that will remove everything so that we can then start from scratch. But that's certainly not the limits of Forge. For example, if we go back to our main server, remember, you can run any number of sites here. So if I decided that I wanted to whip up 10 different sites on the same server, I very easily could. Scheduling Jobs and Monitoring 2:28So if I decided that I wanted to whip up 10 different sites on the same server, I very easily could. For example, imagine that we have a forgerecipes.com domain. Let's go ahead and create that. And now, once that has finished installing, we can configure it just like any other site. Or maybe there's some kinds of tasks that you need to execute at an interval. Well, we can use the scheduler tab for that. For example, imagine that you have some kind of custom artisan command that will simply clear out old event records in your database table, and you want to run that command once a month.clear out old event records in your database table, and you want to run that command once a month. Well, choose our option here, click schedule job, and we're done. Maybe also, once a day, you want to notify an administrator of the signups on your application. App, notify, signups. And again, we want to do that once a day. Schedule the job, and now that will fire each night. Also, if you need to set up a daemon or a network of servers, or even if you need to monitor your application with New Relic, paste in your license key, click install, and the rest of the install process will occur automatically.monitor your application with New Relic, paste in your license key, click install, and the rest of the install process will occur automatically. So in a nutshell, that's Laravel Forge, and I really think you're going to love it.