How To Start Git Web Interface


Git has been a very helpful software development tool, it is so amazing when we are developer given such a free tools that have so much power. But we are not gonna be discussing about git at this moment, this tutorial is a simple and easy steps on how to create a web interface for your git server.

We already have a post about how you set up a git server, follow this link for detail How to setup git server. Now login to your server, then init a new git server.

git init --bare my-project.git

Install ruby on your machine, well if you are using Ubuntu, it is so easy, you can just run this following command and ruby will be installed instantly.

sudo apt install ruby

Then we just this following command to make our web interface running.

sudo git instaweb --httpd=webrick

Now you already have a web interface for your git server, it's nothing like Github, but it's still has so many feauture to make our development experiences a bit easier.

If you somehow want to stop the git web interface, you can run

sudo git instaweb --httpd=webrick --stop

Using git for modern software development is a must, you are gonna get into so much trouble if you don't have one. If git isn't already installed by default on Ubuntu, or if somehow your server don't have it simply just sudo apt install git.

Popular posts from this blog

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

How To Create Spring Boot Project Using Netbeans

Spring Kafka - How to use ReplyingKafkaTemplate send and reply synchronously