-
-
16 May 2016 18:06:46 UTC
- Distribution: App-VW
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (555 / 0 / 0)
- Kwalitee
Bus factor: 0- 65.31% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (10.46KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- AnyEvent
- App::CLI
- Event
- File::Copy
- File::ShareDir
- Sys::Syslog
- Test::More
- Time::HiRes
- YAML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
App::VW::Setup - setup a Squatting app for deployment via Continuity
SYNOPSIS
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
DESCRIPTION
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.OPTIONS
- -p, --port=PORT
-
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. - -s, --size=SIZE
-
This is the number of processes in the cluster. Its default value is
1
. - -m, --modules=PLUGIN
-
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
Module Install Instructions
To install App::VW, copy and paste the appropriate command in to your terminal.
cpanm App::VW
perl -MCPAN -e shell install App::VW
For more information on module installation, please visit the detailed CPAN module installation guide.