deployment - Capistrano mkdir: cannot create directory -
i'm trying use capistrano (for first time) deploy website. web hosting mediatemple. dir structure website looks this:
domains/site.com/html/index.html
it looks capistrano's default deployment tries create var/www
directory place application inside.
i'm getting error when trying run cap production deploy
:
mkdir: cannot create directory `/var/www': permission denied
i assume don't have privileges create these folders, there way around instead of manually creating them?
also, var/www
structure recommended, or worth dumping application in domains/site.com
?
this first experience capistrano, appreciated. in advance!
in default capistrano deployment setup, there commented line looks like:
# default deploy_to directory /var/www/my_app # set :deploy_to, '/var/www/my_app'
you want uncomment set
line , change path location want application deployed to.
Comments
Post a Comment