Table of Contents

LAMPP local server

Deploy a local application

Multiple users

Create a gitusers group, join the required users to the group and give ownership of htdocs folder to the group

$groupadd gitusers
$usermod -a -G gitusers USER
$cd /opt/lampp
$chown root.gitusers htdocs
$chmod 755 htdocs

Single users

Just give ownership of the htdocs folder to desired user

$cd /opt/lampp
$chown mh.mh htdocs

Inside /opt/lampp/htdocs

$git clone ssh:address/to/repository

Access the module with the url : localhost/repository

Ressources

Official site