From the course: Kubernetes: Your First Project (2021)

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Testing the website with make

Testing the website with make

- [Instructor] Let's run this target. First, we'll save the file and then close it. Next, we'll go into our terminal and ensure that we're in the right working directory, which we are. Finally, we'll run our make target by running make run_website. Now I forgot to remove my prerequisites, they don't exist. So let me go ahead and do that now. All right, they're gone. So let's go ahead and try that again. That's a weird error message. Why are we getting this? Well, if going back to our make file here, if you remember, I mentioned earlier that this target is a name of a file that make expects to exist after it runs. Now, if we look inside of our directory, we can see that we have a file called run website already there. So what make did, is it ran the target as we expected it but because the file was already created, there was nothing to do, right? Because it's already there, right? So, in order to fix this, we…

Contents