#!/usr/bin/env bash# You can execute this file to install wallabag dev environment# eg: `sh dev.sh`COMPOSER_COMMAND='composer'DIR="${BASH_SOURCE}"if[[!-d"$DIR"]];thenDIR="$PWD/scripts";fi
."$DIR/require.sh"$COMPOSER_COMMANDinstall
phpbin/consolewallabag:install
phpbin/consoleserver:run