brackets-server icon indicating copy to clipboard operation
brackets-server copied to clipboard

brackets git plugin can't find git

Open bevinhex opened this issue 10 years ago • 3 comments

I wanted to build a development environment for our team , here is the idea, I installed openshift on our server, which holds our applications, and exposes ssh based git link, then I will install brackets-server some other place , and run.

Expected results would be, when I open brackets on browser, I would be opening a remote IDE, then I would use it's git plugin to pull source code from openshift server, then I use a remote terminal(maybe I have to write a plugin for brackets) to build my code where brackets is served, This way I don't have to configure the development everywhere, everyone would be developing online, and building on one machine, which serving brackets, when I push code to openshift, I can open the domain name openshift gave me.

But now, I can use git plugin with local brackets, but unable to use it in online version, it says unable to find "/usr/bin/git", something like that, well I do have up to date git installed already, everything working find.

Do you have any idea what's causing it? how do we solve it?

bevinhex avatar Nov 03 '15 10:11 bevinhex

I assume you are talking about Martin Zagora's Git plugin. I have tested it long time ago and it used to work. It is possible that something has changed since than. Unfortunately lately I don't have time to pay attention to this project.

I won't be able to test it now, but here are a few things you could check:

  • Make sure you have Git installed on the server running brackets-server.
  • Make sure Git executable or symlink to it is in "/usr/bin" directory. I believe adding it to your PATH variable should also work.
  • Make sure you start brackets-server with -d option.
  • Try starting brackets-server process with root privileges, just to see if this is solving something. In production you should never be running it with root.

Let me know how it goes.

-Boyan

On Tue, 3 Nov 2015 at 12:14 bevinhex [email protected] wrote:

I wanted to build a development environment for our team , here is the idea, I installed openshift on our server, which holds our applications, and exposes ssh based git link, then I will install brackets-server some other place , and run.

Expected results would be, when I open brackets on browser, I would be opening a remote IDE, then I would use it's git plugin to pull source code from openshift server, then I use a remote terminal(maybe I have to write a plugin for brackets) to build my code where brackets is served, This way I don't have to configure the development everywhere, everyone would be developing online, and building on one machine, which serving brackets, when I push code to openshift, I can open the domain name openshift gave me.

But now, I can use git plugin with local brackets, but unable to use it in online version, it says unable to find "/usr/bin/git", something like that, well I do have up to date git installed already, everything working find.

Do you have any idea what's causing it? how do we solve it?

— Reply to this email directly or view it on GitHub https://github.com/rabchev/brackets-server/issues/9.

rabchev avatar Nov 04 '15 12:11 rabchev

 I've checked everything you said, but today I got other errors saying something like "unable to connect to NodeJS" when I hit the git plugin button, It was really good idea to turn brackets into a cloud IDE, but after googling for a while, there is other open source cloud IDE's for pretty much the same thing, for the moment cloud9 looks promising, now trying to figure out how to develop git and other plugins to automate our development process.
 Thanks for the reply

bevinhex avatar Nov 04 '15 14:11 bevinhex

You also need NodeJS installed because this extension uses it.

rabchev avatar Nov 05 '15 07:11 rabchev