Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I run a similar setup with GIT, which I’ll do my best to outline. <br> <br>I run gitolite and use a separate git user, in conjunction with two post-receive scripts. The first is a git deploy script (http://caton.liber.in/~ziber/git-deploy-hook.sh) and the second is a simple bash script to fix the permissions of ~git/public_html/ in conjunction with this script (which uses rsync to copy follows and isn’t terribly good at retaining file permissions): https://gist.github.com/JasonMKurtz/5390092 <br> <br>Hope this helps!
You don’t have permission to write to the folder; right now, only the www-data user and the www-data group can. You might try adding yourself to the www-data group and making sure the group can write to the public_html folder, like so: <br> <br>$ sudo usermod -a -G www-data yourname <br>$ sudo chmod -R g+w /var/www/domainname/public_html <br> <br>Does that help?