Search code examples
symfonydeploymentcapifony

capifony configuration for web deployment


I'm a freshman with capifony and need some help. I have a webspace with a Serveradress , User and password. How must I configurate my deploy.rb to deploy my symfony application on my server?

The capifony documentation only comes up with these settings:

set   :application,   "My App"
set   :deploy_to,     "/var/www/my-app.com"
set   :domain,        "my-app.com"

set   :scm,           :git
set   :repository,    "ssh-gitrepo-domain.com:/path/to/repo.git"

But my webserver doesn't have a git repository , so i couldn't use capifony?


Solution

  • If you don't use supported source control systems (git, svn, etc), then you can still deploy by disabling it. Change lines in your config to:

    set :repository, "." 
    set :scm, :none 
    set :deploy_via, :copy