I installed the git-app and wanted to init a repo in ~/webapps but that folder is owned by root. I could probably just sudo but I was wondering if there's any reason it was made like this? I have both a django app and my static media under ~/webapps so it would facilitate my pushing/pulling.. asked 05 Nov '10, 21:56 hap |
Hi, You can't sudo because it is a shared server and you don't have root access. :) ~/webapps is owned by root so that the control panel can install apps there. The easiest way to what you are trying to do is:
That way you can still push/pull as you would and serve your media through Nginx. answered 05 Nov '10, 22:06 klynton Thanks! Works like a charm (after I remembered to add the new symlink app to my website).
(05 Nov '10, 23:22)
hap
Great! Glad I could help.
(05 Nov '10, 23:36)
klynton
|