Creating keys on your server, connecting GitHub, and cloning a repo to your server. Affiliate link, Get $200 to start a digital ocean account: m.do.co/c/fafb...
Great tutorial and thanks for the explanation! Once we'v made updates to the code on github and need to update the server code, do we need to folow SSH process again to "git pull" ?
depends where you connecting from to the github. The keys you use for droplet creation are your laptop/desktop ssh keys. I think github requires you to connect with ssh keys, so these are probably already there if you actively use GitHub. In this video, you create keys on your droplet and connect from your droplet (so using the ssh keys of your droplet).
I've tried to do it from console in a droplet but it seems like it does not allow copying there (but maybe I'm doing something wrong). I don't think I exactly understood what didn't work though. Can you tell?
Great Explainer. Been trying to understand how to pull my code from github into my venv. NICE WORK
glad it helped!
Very helpful, thank you so much !
Glad it was helpful!
Thank you this was exactly what I needed !
Glad it was helpful!
Thank you for the explanation! Really appreciate it
Glad it was helpful!
Thanks a lot Kamila!
Glad it helped!
Thanks
Welcome
my question is , after cloning it .. can we run the project now ?
if it's a web-app then no. You need to set up everything else (nginx, apache server, database etc..)
Great tutorial and thanks for the explanation! Once we'v made updates to the code on github and need to update the server code, do we need to folow SSH process again to "git pull" ?
Yes, that's correct
Thanks, madam...
You’re welcome 😊
Good job!
Thanks!
Thanks, bae.
Thank you!
You're welcome!
Gracias, fue de gran ayuda!!
de nada
when you create a droplet, you can choose ssh key for authentication method. Is it possible to use that same ssh key for github repo
depends where you connecting from to the github. The keys you use for droplet creation are your laptop/desktop ssh keys. I think github requires you to connect with ssh keys, so these are probably already there if you actively use GitHub. In this video, you create keys on your droplet and connect from your droplet (so using the ssh keys of your droplet).
It helps😊
thanks!
Camila,
estou usando o console do droplets.O github não aceita mais o clone mediando a password
Tentei com o token mas não obtive sucesso
I've tried to do it from console in a droplet but it seems like it does not allow copying there (but maybe I'm doing something wrong). I don't think I exactly understood what didn't work though. Can you tell?
Does this method work for all servers?
if they run Ubuntu, it should be.
@@PostdocLife it worked. Thank you! 😊
So helpful! Thank you!
You're so welcome!