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