App::VW::Setup - setup a Squatting app for deployment via Continuity
Usage:
vw setup <App> [OPTION]...
Example: How to setup a Squatting app called 'Bavl'
# Go to the directory your squatting app is in. cd /www/towr.of.bavl.org # Run the setup command sudo vw setup Bavl --port 6000 # You should have 2 new files in your system, now: /etc/vw/bavl.yml /www/towr.of.bavl.org/vw_harness.pl
The setup command installs 2 files into your system so that vw will be able to start your app as a daemonized server at boot time. See App::VW for details.
setup
This is the port that the first process in the cluster will listen to. Its default value is 4000, but you should really specify one yourself.
4000
This is the number of processes in the cluster. Its default value is 1.
1
This option is used to specify which plugins you want your Squatting app to load before starting. You can use this option multiple times.
Example:
sudo vw setup ChatterBox -m With::AccessTrace -m With::Log --port 9000
To install App::VW, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::VW
CPAN shell
perl -MCPAN -e shell install App::VW
For more information on module installation, please visit the detailed CPAN module installation guide.