• 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 747 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023

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, February 3, 2023, https://thecustomizewindows.com/2014/07/add-web-interface-git-repository-shared-hosting/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT