re-configured to run in production as fastcgi process not starman (can't find statics without own domain name); required full path to wkhtmltopdf for apache; replaced {data} with write() setter for session(); removed superfluous style.css from pdf layout (just needed p style declaration); some web pages needed request.uri_base to run as fastcgi
re-configured to run in production as fastcgi process not starman (can't find statics without own domain name); required full path to wkhtmltopdf for apache; replaced {data} with write() setter for session(); removed superfluous style.css from pdf layout (just needed p style declaration); some web pages needed request.uri_base to run as fastcgi
11 years ago
README.txt
HTML::Barcode::QRCode requires Text::QRCode which requires libqrencode-dev,
libqrencode3 & pkg-config packages
deployment:
apache config:
FastCgiServer /home/raj/apps/RequestForm/public/dispatch.fcgi -processes 2 \
-initial-env LOGFILE=/home/raj/apps/RequestForm/logs/deployment.log \
-initial-env PERL5LIB=/home/raj/perl5/lib/perl5
# -initial-env PLACK_ENV=deployment # can also specify in .fcgi BEGIN block
Alias /request-form /path/to/app/public/dispatch.fcgi
starman & D::C doesn't work without dedicated domain name (can't find statics)