• 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
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

  • How to Use Git Repo In Shared Hosting Account

    It might wonder many, but actually one can push a Git Repo in shared hosting environment, that is great to do many advanced works. Here is how.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Publishing an OctoPress Site on Shared Hosting

    Publishing an OctoPress Site on Shared Hosting is Not That Difficult Than it Sounds. As We Can Use Git Push on Shared Hosting, It is Easy.

  • How to SSH to Shared Hosting Server

    Yes, it is possible to SSH to Shared Hosting Server with non-sudoers’ privilege, it never gives the full usage, still better than FTP!

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
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