From 9857074291a97c72151f162d05245a419ac23143 Mon Sep 17 00:00:00 2001 From: Matthew Connelly Date: Sun, 15 Nov 2015 22:28:26 +0000 Subject: [PATCH] Added cpanfile for easier dependency installation, rename app.pl -> app.psgi for ~compliance~ --- bin/app.pl => app.psgi | 0 cpanfile | 11 +++++++++++ start | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) rename bin/app.pl => app.psgi (100%) mode change 100755 => 100644 create mode 100644 cpanfile diff --git a/bin/app.pl b/app.psgi old mode 100755 new mode 100644 similarity index 100% rename from bin/app.pl rename to app.psgi diff --git a/cpanfile b/cpanfile new file mode 100644 index 0000000..8368033 --- /dev/null +++ b/cpanfile @@ -0,0 +1,11 @@ +requires 'Dancer2'; +requires 'Dancer2::Plugin::DBIC'; +requires 'InflateColumn::DateTime'; +requires 'DateTime::Formatter::MySQL'; + +requires 'DateTime'; +requires 'Data::UUID'; + +requires 'Try::Tiny'; +requires 'Inline'; +requires 'Inline::Python'; \ No newline at end of file diff --git a/start b/start index 43dd4d3..23352c6 100755 --- a/start +++ b/start @@ -2,4 +2,4 @@ [ -z "$APP_HOME$APP" ] && exit 1 cd $APP_HOME/$APP pkill -F $APP_HOME/${APP}.pid 2>/dev/null -plackup -s Starman -D -S $APP_HOME/$APP/.sock ./bin/app.pl --pid $APP_HOME/${APP}.pid +plackup -s Starman -D -S $APP_HOME/$APP/.sock ./app.psgi --pid $APP_HOME/${APP}.pid