How To Deploy Your Project To A Remote Server With CPanel Git Repository
HTML-код
- Опубликовано: 8 фев 2025
- In this video I'm going to show how to deploy your web app to your remote server using git repository. Enjoy!
Please leave your comments below incase of any challenge I will be so glade to assist you. Thank you!
I have been working as a developer for many years, but I am still surprised to learn from a young mind from a country I have never been to. Thank you very much 🙏
You're welcome! I'm glad I could assist you. If you have any more questions or need further assistance in the future, feel free to ask. Warm regards to you as well!
Thanks for sharing your knowledge
Awesome tutorial! I really like how you go through each step even if it's already done.
Hi,
The ssh access is disabled on my server for security issues, is there another way to connect Git with Cpanel without ssh please?
Sadly there isn't another way. But can you check with your host provider if it can be enabled?
@@obitechinvent unfortunately The firewall disable the ssh acces for security issues that's why I asked for further method without ssh :/
i dont know how to link ssh to my local machine; i've created ssh key and import but i get that error
Okay do you need help getting it to work?
The ssh part is getting times out, dont know if the user should be created or not?
Hi @sulimanbabar I think you should check with your hosting provider if port 22 is the correct port for connect SSH. Some hosting providers disable this port which is the default ssh port.
@@obitechinvent Solved now, i missed the ssh keys part to put .ssh folder.. Thanks
@@sulimanbabar Great! Am glad you solved it. Have a fun coding week ahead.
I have this error while trying
>
Hi @skygrace have you properly link your local ssh key to your remote server?
I will make a video to show you how to link your local ssh key to your remote server. Will that help?
Bro where did you just get the 'git remote add origin'?
Hi Sam, you can get that on the repositry page on the list of the repository you have already created. Just click on manage button the reveal the url to remote repo. If your server does not support ssh deploy, the url will not be displayed.
@@obitechinvent Thanks for this comment. I tried 2 whole days but after I noticed this comment. It was a piece of cake.
Can we use someone else's repository in which I am added as a contributor? Actually, I have a repository created by my boss, and I want to deploy that. Reply me as soon as possible.
Okay, first you need to have appropriate rights to that repo. First create an SSH key and add to that repo under repo setting > Deploy Keys. And then follow the remaining processes