mercredi 1 janvier 2020

what happens when we download something on remote server via SSHing into the server?

Say we bought a server on some cloud hosting company say digitalocean.com. I have an application to run which is in a github repo. I SSH into the server and make a folder and git clone my application. After this, I need to install the node-modules. This is where my question comes, when we install node-modules in the server by running command 'npm i' in the remote server how exactly are the modules pulled in from internet into the server? Do I (who is SSHing into the server) happen to bear the cost of data usage for installing these modules? Or it's the server?




Aucun commentaire:

Enregistrer un commentaire