16 May 2016 18:06:46 UTC
- Distribution: App-VW
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (555 / 0 / 0)
- KwaliteeBus factor: 0
- 65.31% Coverage
- License: unknown
- Activity24 month
- Download (10.46KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBEPPU John Beppu
App::VW::Setup - setup a Squatting app for deployment via Continuity
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
setupcommand 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.
- -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
- -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.
sudo vw setup ChatterBox -m With::AccessTrace -m With::Log --port 9000