Answer the question
In order to leave comments, you need to log in
Can Git/Mercurial be configured to work with shared hosting?
Hello gentlemen.
I apologize in advance for a probably stupid question.
I'm not strong at all in version control systems, although at work I seem to use mercurial, but only at the "Press the commit/push/pull button in Eclips" level.
Now there is an idea to use vcs on a "hacky" project, which, of course, is on shared hosting.
Can you please tell me if it is possible, and if so, how to set up mercurial or git to work with it, and maybe one of them is more suitable for these purposes?
Answer the question
In order to leave comments, you need to log in
If you have access to the server via ssh, then you can do anything. At least node.js can be deployed (although an application on node.js can only be deployed with wild swings and it’s better not to try at all).
Some hosters provide git out of the box, while others allow you to upload binaries to directories like ~/bin, where the binaries will actually be searched. No one will let you install the packages, but there are no problems with just downloading the binary.
If you want to live beautifully, you can set up a deployment task on the local machine via the ci server. The algorithm will be simple, for each push to the master or according to some other criterion the project assembly will be launched, everything is ziped into the archive and uploaded/synced via scp.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question