1 00:00:01,830 --> 00:00:06,160 Our application is up and running successfully inside of our cluster which is fantastic. 2 00:00:06,210 --> 00:00:10,470 But as I've mentioned several times in the last couple of videos making changes to our code base right 3 00:00:10,470 --> 00:00:12,280 now is a real pain. 4 00:00:12,420 --> 00:00:14,220 So you might recall look at this diagram. 5 00:00:14,280 --> 00:00:19,320 These are the steps we go through any time they want to change the image that is used by a deployment. 6 00:00:19,320 --> 00:00:22,740 So we've been saying that to really change the code running inside of our pods. 7 00:00:22,800 --> 00:00:24,680 We had to make an update to our code. 8 00:00:24,750 --> 00:00:29,130 We had to rebuild the image push it to Docker Hub and then run a command. 9 00:00:29,130 --> 00:00:35,710 This is a total nightmare to have to do that would result in a very very unpleasant development process. 10 00:00:35,730 --> 00:00:39,630 Now it is still important for you to understand this process right here because this is how we're going 11 00:00:39,630 --> 00:00:44,010 to eventually deploy code in a production style environment still important for you to understand this 12 00:00:44,280 --> 00:00:48,760 but in a development environment clearly this is not a very great approach. 13 00:00:48,810 --> 00:00:52,220 So we are developing code actively inside of a carbonates cluster. 14 00:00:52,240 --> 00:00:58,500 We're going to instead use a tool called scaffold scaffold is a command line tool that we're going to 15 00:00:58,500 --> 00:01:05,280 use to automatically do a lot of different tasks in our communities dev environment specifically. 16 00:01:05,280 --> 00:01:09,450 You can't use scaffold in a production environment but for you and I really just going to focus on using 17 00:01:09,450 --> 00:01:11,080 it in development. 18 00:01:11,280 --> 00:01:16,380 The number one thing that we are interested in with scaffold is that it makes it super easy to update 19 00:01:16,380 --> 00:01:18,260 Code in a running pod. 20 00:01:18,270 --> 00:01:22,900 It's essentially just as quickly as if we were not using commodities at all. 21 00:01:22,950 --> 00:01:27,840 The other really great thing about scaffold is that it makes it very easy for us to create and delete 22 00:01:28,110 --> 00:01:30,700 all the different objects that are tied to some project. 23 00:01:30,900 --> 00:01:32,170 Very very quickly. 24 00:01:32,280 --> 00:01:33,230 And that's really important. 25 00:01:33,240 --> 00:01:38,160 If we start working between multiple different Cuban cities projects when you running a cluster on your 26 00:01:38,160 --> 00:01:40,610 local machine there is just one cluster. 27 00:01:40,650 --> 00:01:45,510 So if you start to work between different projects maybe right now you're working on this application 28 00:01:45,510 --> 00:01:49,760 in this course maybe tomorrow you're going to be working on another tutorial or a production app. 29 00:01:49,770 --> 00:01:51,190 Who knows you're going to be. 30 00:01:51,220 --> 00:01:56,790 Want to be able to change between these different sets of objects very quickly and you can do that very 31 00:01:56,790 --> 00:01:59,010 quickly using scaffold. 32 00:01:59,240 --> 00:01:59,530 All right. 33 00:01:59,630 --> 00:02:02,210 So best way to understand scaffold is of course to use it. 34 00:02:02,220 --> 00:02:06,740 So let's just go ahead and install this thing and get get a better idea of what is going on the home 35 00:02:06,740 --> 00:02:12,890 page for scaffold is scaffold dot Dev it's inside of a new browser tab I will go to a scaffold dot Dev 36 00:02:15,190 --> 00:02:20,110 once a year you will see a link on left hand side that says Get scaffold so click on that and then you 37 00:02:20,110 --> 00:02:27,790 will see installation directions on here or Linux Mac OS and Windows the Windows installation directions 38 00:02:27,820 --> 00:02:30,520 are assuming that you have chocolaty already installed. 39 00:02:30,670 --> 00:02:35,440 If you do not have chocolaty or if you don't know what it is I encourage you to do a google search of 40 00:02:35,440 --> 00:02:41,350 chocolatey it make sure you get it installed on your local system if you followed the Mac OS install 41 00:02:41,350 --> 00:02:41,820 directions. 42 00:02:41,830 --> 00:02:44,160 This is assuming that you have homebrew installed as well. 43 00:02:44,230 --> 00:02:49,380 And of course if you don't have homebrew installed again do a quick google search install homebrew to 44 00:02:49,400 --> 00:02:52,900 go ahead and follow the directions for your appropriate operating system. 45 00:02:53,060 --> 00:02:58,430 In just about every case it's gonna be a pretty simple install one command from Mac OS one for Windows 46 00:02:58,640 --> 00:02:59,900 and just a handful of commands. 47 00:02:59,900 --> 00:03:06,000 If you're on Linux to go ahead and get that all setup will come to get back together in the next video 48 00:03:06,030 --> 00:03:08,340 and we'll start to use scaffold inside of our project.