在public_html文件夹中创建存储库时出现问题。它显示的错误是这样的。
Error: You cannot use the “/home/clientresearch/public_html” directory because it already contains files.
有没有办法在已经有文件的cPanel中创建repo。现在,它只在干净的目录中工作。我们怎样才能让git repo拥有像live站点一样的所有文件呢?
提前谢谢你
我目前有一个基本的cpanel托管帐户。它有这样的设置:
/home/mysite/ --> my home directory
/home/mysite/www --> symlink to the next folder
/home/mysite/public_html --> where all my files live
问题是,我最近安装了一个有结构的网站:
/app/ --> appy stuff
/public/ ---> what needs to be exposed
我的问题是,我不想把所有东西都扔到/home/mysite中,因为里面还有其他
我是Capistrano 3的新手。
我想将我的php应用程序部署到public_html文件夹(我使用的是cPanel)
我设置我的deploy_to是这样的:
set :deploy_to, '/home/username/public_html'
当我跑的时候:
它已成功上传到我的服务器,但它被部署到releases cap production deploy current文件夹,而不是根目录public_html
我的问题是,如何让Capistrano上传到我的public_html根文件夹?