Show git branch as website

I am an intern at a semi-large company and we are starting to use git. Currently everything is set up, only one thing is missing and that is a way to track the progress of projects in a friendly way.

Ideally, we want the website to display the git repository in its current state. So let's say it dev.website.com

shows the main branch, login.dev.website.com

shows the "login" branch, and so on.

So the idea is not to look at git itself, but the actual website in a particular branch state. This is a way to check development progress for developers so they can see the changes. Also, if possible, a standalone solution, so not really a complete hosting service.

+3


source to share


2 answers


Perhaps you could try git instaweb

NAME
       git-instaweb - Instantly browse your working repository in gitweb

DESCRIPTION
       A simple script to set up gitweb and a web server for browsing the
       local repository.

      



Example

git instaweb --httpd webrick

      

+3


source


So, thanks for the suggestions, but I got it to work. We are using Beanstalk as our repository repository and we assume it has deployment built in! Haha didn't even realize it.



Thanks for the effort though, rate it.

0


source







All Articles