Hi, guys. So if you look at our code, you realize that we have our own whole application running on our localhost 3000. Now, how does this How does this really run? So, you look at import packages, you see that it imports certain packages, some local packages and some external packages like our my skill gold driver. So this my SQL go driver exists on our go path. So if you do CD, dollar go path, Guru SRC and then go to github.com.
Go to go SQL driver, you can see that this exists on our machine. So our machine can say that, okay, yes, import this from machine only. But this doesn't exist on our cloud server. So how would we know how or other how the cloud server know that this dependency is needed for the code. So this is what is known as rendering. In rendering, what we do is we make a folder called vendor and all of our external dependencies go inside that folder.
So What goe does then is it looks at the import path. It says Okay, first I'm going to look at my local vendor folder. If it is in my local vendor folder, then no problem, but it's not in my local vendor folder, I'm going to go to dollar go path, then when it goes to go path, if it doesn't find it, it's going to crash. So that is why we're going to be rendering. So after rendering, we have a folder with a list of dependencies and everything. Then we push our whole repository into the cloud repository.
And then Heroku starts the server and does everything perfectly fine. So in the next video, I'm going to be telling you about how we can vendor and how we can push to the cloud. So stay tuned guys and see you guys in the next video.