Sharable, encrypted, ephemeral pastebin. https://pasteburn.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
263 B

#!/bin/bash
DIRNAME=$(dirname "$0")
APPDIR=$(realpath "$DIRNAME")
LIBDIR=$(realpath "$DIRNAME/../lib")
export PERL5LIB=$LIBDIR:$PERL5LIB
export DANCER_CONFDIR=$APPDIR
export DANCER_ENVIRONMENT=development
plackup --loader Shotgun --port 5000 "$APPDIR/app.psgi"