Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Github clone in PHP that I can run on my own server? [closed]

I know there are plenty of ways to run git on my server, but I quite like the functionality of git with repo browsing - the fact that i can look at previous versions in the web interface.

Now was I able to, I'd use github, but the problem is our source control rules are very strict and we aren't allowed to put files on other servers, even if they are encrypted.

Is there a script that allows us to run a github like interface, or rather one that allows me to browse the revision history of the git project through a web interface?

I'm running a LAMP server, but would consider alternate languages like python, perl etc should nothing in php be available.

interested in both paid and open source softwares

like image 847
Jason Avatar asked Feb 14 '11 02:02

Jason


People also ask

How do I clone a GitHub repository on my server?

On GitHub.com, navigate to the main page of the repository. Above the list of files, click Code. Click Open with GitHub Desktop to clone and open the repository with GitHub Desktop. Follow the prompts in GitHub Desktop to complete the clone.

How do I continue an interrupted git clone?

git clone cannot be restarted. You'll need to rm -rf common, and then restart then clone from the beginning.

Can you use git locally without GitHub?

You do not need GitHub to use git, but you cannot use GitHub without using git. There are many other alternatives to GitHub, such as GitLab, BitBucket, and “host-your-own” solutions such as gogs and gittea. All of these are referred to in git-speak as “remotes”, and all are completely optional.

Can I host my PHP on GitHub?

Github pages currently do not support PHP as it only supports static website. However, if you want to display some dynamic content on your website, you can simply use iframe to display that content, but again it has to be hosted somewhere else.


1 Answers

The webapp behind Gitorious is open-source. You can have an interface exactly like it from your web server. It doesn't have all the Github bells and whistles but it has source browsing, revision history, commits, etc.

It's rails, which might not be optimal for you, but it's also free :-)

like image 189
Rafe Kettler Avatar answered Sep 16 '22 21:09

Rafe Kettler