Apache::SiteConfig::Deploy
use Apache::SiteConfig::Deploy; name 'projectA'; domain 'foo.com'; domain_alias 'foo.com'; su 'www-data'; chown 'www-data'; source git => 'git@git.foo.com:projectA.git'; source git => 'git@git.foo.com:projectA.git', branch => 'master'; source hg => 'http://.........'; # relative web document path of repository webroot 'webroot/'; task deploy => sub { }; task dist => sub { }; Deploy->new( name => 'projectA', sites_dir => '/var/sites', # optional git => 'git@foo.com:projectA.git', domain => 'foo.com', webroot => 'webroot/', );
To install Apache::SiteConfig, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::SiteConfig
CPAN shell
perl -MCPAN -e shell install Apache::SiteConfig
For more information on module installation, please visit the detailed CPAN module installation guide.