Apache::SiteConfig - Apache site deployment tool
use Apache::SiteConfig::Deploy; name 'projectA'; su 'www-data'; domain 'foo.com'; domain_alias 'foo.com'; source git => 'git@git.foo.com:projectA.git', branch => 'master'; source hg => 'http://.........'; # relative web document path of repository webroot 'webroot/';
Do deploy
$ perl siteA deploy
Do update
$ perl siteA update
Clean up
$ perl siteA clean
Apache::SiteConfig is a simple tool for apache website deployment.
Yo-An Lin <cornelius.howl {at} gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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.