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
249 B

#!/usr/bin/env bash
appDir=$(dirname $(readlink -f $0));
cd "$appDir/www";
port="$PORT";
if [ -z "$port" ]; then port="7777"; fi
mkdir -p ../sess
php -S "0.0.0.0:$port" -d session.save_path=$PWD/../sess & echo "Adminer server started.. PID: $!";