Our application is up and running successfully inside of our cluster which is fantastic.
But as I've mentioned several times in the last couple of videos making changes to our code base right
now is a real pain.
So you might recall look at this diagram.
These are the steps we go through any time they want to change the image that is used by a deployment.
So we've been saying that to really change the code running inside of our pods.
We had to make an update to our code.
We had to rebuild the image push it to Docker Hub and then run a command.
This is a total nightmare to have to do that would result in a very very unpleasant development process.
Now it is still important for you to understand this process right here because this is how we're going
to eventually deploy code in a production style environment still important for you to understand this
but in a development environment clearly this is not a very great approach.
So we are developing code actively inside of a carbonates cluster.
We're going to instead use a tool called scaffold scaffold is a command line tool that we're going to
use to automatically do a lot of different tasks in our communities dev environment specifically.
You can't use scaffold in a production environment but for you and I really just going to focus on using
it in development.
The number one thing that we are interested in with scaffold is that it makes it super easy to update
Code in a running pod.
It's essentially just as quickly as if we were not using commodities at all.
The other really great thing about scaffold is that it makes it very easy for us to create and delete
all the different objects that are tied to some project.
Very very quickly.
And that's really important.
If we start working between multiple different Cuban cities projects when you running a cluster on your
local machine there is just one cluster.
So if you start to work between different projects maybe right now you're working on this application
in this course maybe tomorrow you're going to be working on another tutorial or a production app.
Who knows you're going to be.
Want to be able to change between these different sets of objects very quickly and you can do that very
quickly using scaffold.
All right.
So best way to understand scaffold is of course to use it.
So let's just go ahead and install this thing and get get a better idea of what is going on the home
page for scaffold is scaffold dot Dev it's inside of a new browser tab I will go to a scaffold dot Dev
once a year you will see a link on left hand side that says Get scaffold so click on that and then you
will see installation directions on here or Linux Mac OS and Windows the Windows installation directions
are assuming that you have chocolaty already installed.
If you do not have chocolaty or if you don't know what it is I encourage you to do a google search of
chocolatey it make sure you get it installed on your local system if you followed the Mac OS install
directions.
This is assuming that you have homebrew installed as well.
And of course if you don't have homebrew installed again do a quick google search install homebrew to
go ahead and follow the directions for your appropriate operating system.
In just about every case it's gonna be a pretty simple install one command from Mac OS one for Windows
and just a handful of commands.
If you're on Linux to go ahead and get that all setup will come to get back together in the next video
and we'll start to use scaffold inside of our project.