wware / gitbox

A little box full of git repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitbox, a private mobile Github clone

This is a hardware project to assist software development. The hardware comprises:

For now this will be a vanilla Git server using GitWeb as a web interface. Later I might tinker with Gitlab or Gogs.

I did some tinkering in a Docker image before moving on to the physical RPi.

docker build -t gitbox .
docker run -d -p 80:80 -v /opt/git:/opt/git --name=gitbox gitbox
docker inspect --format='{{.NetworkSettings.IPAddress}}' gitbox

It's a good idea to put an entry for "gitbox" in /etc/hosts of your dev machine.

Creating a git repo is a bit of a chore. Given a repository foo, do this.

git clone --bare foo foo.git
scp -r foo.git gitbox:/opt/git/foo.git

About

A little box full of git repositories.


Languages

Language:Perl 90.9%Language:Shell 6.2%Language:Python 2.9%