moved get_pds_data() block to Role::PDS - don't need 'with' followed by 'with' any more in Validate; made logo img-responsive class to enable dynamic resize; tt layout rearrangements
completed nhs_number ajax validation; moved ajax methods to new package; new rf.pl Daemon::Control script; combined suspected diagnosis with clinical details
removed params & config tokens from before_template hook (automatic anyway); renamed search() to to disambiguate from 'var'; moved content of _validate_form() & _validate_nhs_number() back into routes (only 2 lines each); Path::Tiny in Role::PDS
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
moved get_pds_data() block to Role::PDS - don't need 'with' followed by 'with' any more in Validate; made logo img-responsive class to enable dynamic resize; tt layout rearrangements
11 years ago
README.txt
HTML::Barcode::QRCode requires Text::QRCode which requires libqrencode-dev,
libqrencode3 & pkg-config packages
deployment:
* starman & D::C doesn't work without dedicated domain name (can't find statics)
apache config:
FastCgiServer /home/raj/apps/RequestForm/public/dispatch.fcgi -processes 2 \
-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