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!

Комментарии • 22

  • @isf3lc
    @isf3lc 11 месяцев назад +7

    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 🙏

    • @obitechinvent
      @obitechinvent  11 месяцев назад

      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!

  • @ShanSiraj
    @ShanSiraj Год назад +2

    Thanks for sharing your knowledge

  • @yanike
    @yanike 8 месяцев назад +1

    Awesome tutorial! I really like how you go through each step even if it's already done.

  • @oueghlanimaha8242
    @oueghlanimaha8242 4 месяца назад +1

    Hi,
    The ssh access is disabled on my server for security issues, is there another way to connect Git with Cpanel without ssh please?

    • @obitechinvent
      @obitechinvent  4 месяца назад

      Sadly there isn't another way. But can you check with your host provider if it can be enabled?

    • @oueghlanimaha8242
      @oueghlanimaha8242 4 месяца назад

      @@obitechinvent unfortunately The firewall disable the ssh acces for security issues that's why I asked for further method without ssh :/

  • @skygrace8459
    @skygrace8459 Год назад +2

    i dont know how to link ssh to my local machine; i've created ssh key and import but i get that error

    • @obitechinvent
      @obitechinvent  Год назад

      Okay do you need help getting it to work?

  • @sulimanbabar
    @sulimanbabar 7 месяцев назад +1

    The ssh part is getting times out, dont know if the user should be created or not?

    • @obitechinvent
      @obitechinvent  7 месяцев назад

      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.

    • @sulimanbabar
      @sulimanbabar 7 месяцев назад +1

      @@obitechinvent Solved now, i missed the ssh keys part to put .ssh folder.. Thanks

    • @obitechinvent
      @obitechinvent  7 месяцев назад +1

      @@sulimanbabar Great! Am glad you solved it. Have a fun coding week ahead.

  • @skygrace8459
    @skygrace8459 Год назад +1

    I have this error while trying
    >

    • @obitechinvent
      @obitechinvent  Год назад

      Hi @skygrace have you properly link your local ssh key to your remote server?

    • @obitechinvent
      @obitechinvent  Год назад +1

      I will make a video to show you how to link your local ssh key to your remote server. Will that help?

  • @samsenolay2210
    @samsenolay2210 Год назад +1

    Bro where did you just get the 'git remote add origin'?

    • @obitechinvent
      @obitechinvent  Год назад +2

      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.

    • @rakibulhashanrabbi
      @rakibulhashanrabbi 8 месяцев назад

      @@obitechinvent Thanks for this comment. I tried 2 whole days but after I noticed this comment. It was a piece of cake.

  • @faizaahmad314
    @faizaahmad314 4 месяца назад

    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.

    • @obitechinvent
      @obitechinvent  4 месяца назад +1

      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