gerroo Posted July 20, 2020 Posted July 20, 2020 (edited) Hey,I would like to have continous integration on my web application such that when I push my code, it is deployed.In order to do that I decided to create a git repository on cPanel.I cannot see the URL for the repository.Here's the tutorial I'd like to follow: The current status of the UI is attached. Edited July 20, 2020 by gerroo
gerroo Posted July 20, 2020 Author Posted July 20, 2020 (edited) Hey,Sorry about that. I tried the link function of the editor and I couldn't get it to work youtube.com/watch?v=18tXFctuqQ0 UI Edited July 20, 2020 by gerroo
Computer Nerd Kev Posted July 26, 2020 Posted July 26, 2020 The clone URL in the video is for SSH access and Heliohost accounts don't allow this (except on the VPS accounts). There's a banner at the top of the CPanel Git config. page in my account that says: Warning: Your system administrator must enable shell access to allow you to view clone URLs. Git also supposably supports HTTP/S URLs, not that I fully understand how this works for uploading. I tried it once by creating a git repo under ~/public_html/, but although I tried hard, I couldn't get it to work (I can't find my notes on this, so not sure what the exact errors were). The Git documentation is far from clear on how HTTP-hosted repos work (though I don't find it particularly clear about anything for that matter).
badrihippo Posted September 11, 2020 Posted September 11, 2020 I've never tried HTTP-based git on HelioHost, but even before they had the option, I was using git-ftp to manage files. This won't create a full-fledged git repo, but it uses its own system to simulate a git push: if files are changed on your repo, it will change exactly those files on the destination FTP server as well. If you're only using git to deploy changes, this might be the right thing for you, but note that you will have to always use the same computer to push, and ideally have the source code itself hosted elsewhere if you want to do regular git stuff as well.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now