apt-get install -y curl openssh-server ca-certificates
apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | bash
EXTERNAL_URL="http://repo.liberasys.com" apt-get install gitlab-ee

Create a group and a project, example : http://repo.liberasys.com/datalogging/ansible.git

Example for adding an existing project directory :

cd existing_folder
git init
git remote add origin http://repo.liberasys.com/liberasys/kikin.git
git add .
git commit -m "Initial commit"
git push -u origin master

Example for using git :

apt-get install git
git clone http://repo.liberasys.com/datalogging/ansible.git