Added cpanfile for easier dependency installation, rename app.pl -> app.psgi for ~compliance~
This commit is contained in:
parent
977d24e82d
commit
9857074291
|
@ -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';
|
2
start
2
start
|
@ -2,4 +2,4 @@
|
||||||
[ -z "$APP_HOME$APP" ] && exit 1
|
[ -z "$APP_HOME$APP" ] && exit 1
|
||||||
cd $APP_HOME/$APP
|
cd $APP_HOME/$APP
|
||||||
pkill -F $APP_HOME/${APP}.pid 2>/dev/null
|
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
|
||||||
|
|
Loading…
Reference in New Issue