RTC 6.0.2 - GIT integration: the right steps to do
Hi all.
I'm trying to set the integration between RTC 6.0.2 and GIT.
I'm following the steps in the official guide:
- in the first step, Installing and configuring Rational Team Concert and Git using an Apache HTTP server (https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.connector.cq.doc/topics/t_git_install.html), I've found the whole list of tools and SW to install.
- In the following step Configuring Git server-side hooks (https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.connector.cq.doc/topics/t_git_hooks.html) I've found another pre-requisite to satisfy: I have to install also NodeJS v0.12.0.
Now I don't understand if I can avoid to use NodeJS or not: sorry but the guide it's (for me) not very clear.
Then, if I need to install NodeJS v0.12.0, I have the problem that I can't find an official rpm for my RHEL 5.9 and the distro required (v0.12) encountered compiling errors (both using python 2.2 and python 3.4).
I can't use sudo yum install nodejs npm (or via apt-get) because the server is in a protected net, not open to Internet.
Please, someone can advice me how to go on?
Many thanks in advance
Alberto
Accepted answer
To setup Git and RTC integration, you need to deploy Git on web server. So you can either use Apache HTTP server or NodeJS server.
To setup Git on NodeJS, you can follow the step-by-step document:
The document https://jazz.net/wiki/bin/view/Main/RTCGitNodeJSServer provides NodeJS distribution list.
If you want to deploy Git on Apache HTTP server, you do not need to install Node JS. You can refer to the article https://jazz.net/library/article/1426.
Comments
2 other answers
Hi Lily many tahnks for your answres.
In the official guide the steps of Apache and Nodejs (for me) seem to be mixed.
However, finally I was able to install NodeJS v0.12.0 (using Phyton 2.7).
Now I have all configured as described in the wiki page Node JS Server for RTC-Git Integration (https://jazz.net/wiki/bin/view/Main/RTCGitNodeJSServer#ScopeIn601), and, after the editing of config.jason, the in the server.log I've found "Invalid Config file at /opt/rtc-git-server-toolkit/server/config.json. Exiting application".
I'm pretty sure I've well configured config.jason: where I can find some written examples?
Many thanks in advance.
Alberto
Comments
The complete solution for my issues includes also https://jazz.net/forum/questions/235317/rtc-and-git-integration-using-nodejs-authentication-ldap