setup.sh 350 B

12345678910111213141516
  1. #!/bin/bash
  2. fw_depends perl nginx
  3. cpanm --notest --no-man-page \
  4. [email protected] \
  5. Dancer::Plugin::[email protected] \
  6. [email protected] \
  7. DBD::[email protected] \
  8. JSON::[email protected] \
  9. [email protected] \
  10. [email protected]
  11. nginx -c ${TROOT}/nginx.conf
  12. plackup -E production -s Starman --workers=${CPU_COUNT} -l /tmp/perl-dancer.sock -a ./app.pl &