• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Add a Web Interface to Git Repository on Shared Hosting

By Abhishek Ghosh July 20, 2014 5:45 pm Updated on July 20, 2014

Add a Web Interface to Git Repository on Shared Hosting

Advertisement

Shared Hosting supports git push, but why we will remain happy with a minimal feature! You can add a Web Interface to Git on Shared Hosting. We Can Use Git Repo In Shared Hosting Account, right? We know What is Jailed Shell, right? After knowing so much, if we do not use the features then where the deployment of learning will go! Actually there are lot of options for adding a Web Interface to Git Repository which includes high end Github Enterprise software (you pay the fees for installing on your server), Gitlab ( poor man’s Gihhub Enterprise – Free Software ) to very simple web interface.

 

Options for Adding a Web Interface to Git Repository on Shared Hosting

 

Unfortunately, although Ruby is supported by cPanels, it is actually gets complicated if we use Ruby base software to add a web interface to our Git. We actually have to control the stuffs with .htaccess file! PHP is always running, what is the problem of using PHP? Nothing. Except that, you can not use more modern PHP Git Interface, you have to limit your wishes within few features. Actually you can do a bit customization with Twitter Bootstrap to make it looking better.

Add a Web Interface to Git Repository on Shared Hosting

 

Add a Web Interface to Git Repository on Shared Hosting

 

You need to understand few important points. First is that, this method is great if you are using a SSL certificate for kind of Organization’s project, in that case, you’ll create a subdirectory on the domain’s FTP root from cPanel’s File Manager. If the directory’s name is repository and domain’s name is freehealthfoundation.org then the Public URL is becoming :

Advertisement

---

Vim
1
https://freehealthfoundation.org/repository/

Keep the name in lower case and you must create proper .htaccess files for controlling public access to FTP or Git contents circumventing your wish.

We will use :

Vim
1
http://www.gitphp.org/

First, login via SSH :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
~  ssh -p 2222 tcwmedia@140.258.189.20
# if you are login for the first time
# or deleted the entry from known hosts file
The authenticity of host '[140.258.189.20]:2222 ([192.254.189.28]:2222)' can't be established.
RSA key fingerprint is bb:6a:51:b4:63:e8:3b:a1:c9:c8:29:3f:b9:1b:4e:49.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[140.258.189.20]:2222' (RSA) to the list of known hosts.
tcwmedia@192.254.189.28's password:
# we have lodged in, do a pwd
tcwmedia@freehealthfoundation.org [~]# pwd
/home3/tcwmedia
# this is maximum the upper level you can access
tcwmedia@freehealthfoundation.org [~]# cd ~

Now go to that directory on command line; the $PATH can be :

Vim
1
/home3/tcwmedia/repository

You should check by placing a plain HTML file and loading it on browser. We can not install any Git Web Interface with existing repositories – may be there are softwares, but the rule is to start with bare repo :

Vim
1
http://schacon.github.io/git/user-manual.html#public-repositories

So, init the bare repo, taking that you are in the repository on command line :

Vim
1
git init --bare /home3/tcwmedia/repository/mybareproject.git

wget the software :

Vim
1
https://github.com/xiphux/gitphp/releases/download/0.2.9.1/gitphp-0.2.9.1.tar.gz

Untar it :

Vim
1
2
3
4
5
6
7
8
tar -xzvf gitphp*
cd gitphp*
# move all to one level up
mv * ..
cd ..
pwd && ls
# delete the tar file
rm -r gitphp*

Install normally after moving the files to root as written there.

Tagged With git web gui for free , Gitphp Project Gitphp 0 2 9 1 datasheet manual

This Article Has Been Shared 928 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Add a Web Interface to Git Repository on Shared Hosting

  • Cloud Computing Risk Analysis

    Cloud Computing Risk Analysis is an important administrative and marketing task. ENISA itself has a pdf guide. However, we will cover a generalized idea.

  • Node in Cloud Computing : What this Node Means ?

    Node in Cloud Computing is a connection point, either a redistribution point or an end point for data transmissions in general. Node in Cloud Computing is not a neologism.

  • Google’s Cloud Computing and Branding Strategies in 2013

    Google’s Cloud Computing and Branding Strategies in 2013 quite significant. Google is taking approaches for increasing brand value through Hardware, Cloud etc.

  • Install Open Journal Systems on Rackspace Cloud Sites

    Install Open Journal Systems on Rackspace Cloud Sites just like any other PHP MySQL based application in easy to follow steps.

  • Points to Check Before Switching to Cloud Computing

    If you work as a IT service provider you need either to explain the benefits of cloud computing or decide to switch own business, some points to check before switching to Cloud.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021
  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021
  • What is a Loosely Coupled System? January 17, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Add a Web Interface to Git Repository on Shared Hosting," in The Customize Windows, July 20, 2014, January 23, 2021, https://thecustomizewindows.com/2014/07/add-web-interface-git-repository-shared-hosting/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy