cd ~
mkdir work
cd ~/work
mkdir agreg.houses
cd agreg.houses
git init
git pull /media/win/WINSETUP/git/agreg.houses master
sudo su
cat << EOT >> /etc/hosts
127.0.0.1 localhost agreg.houses
EOT
cat << EOT >> /etc/apache2/sites-available/agreg.houses.conf
<VirtualHost *:80>
ServerName agreg.houses
ServerAdmin webmaster@localhost
DocumentRoot /home/win/work/agreg.houses
<Directory /home/win/work/agreg.houses>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
EOT
chown $USER.www-data -R /home/win/work/agreg.houses
a2ensite agreg.houses
service apache2 reload
echo http://agreg.houses
exit