wallabag/scripts/dev.sh

14 lines
308 B
Bash
Raw Normal View History

2016-10-30 21:38:38 +00:00
#!/usr/bin/env bash
# You can execute this file to install wallabag dev environment
# eg: `sh dev.sh`
2016-10-27 08:09:43 +00:00
COMPOSER_COMMAND='composer'
2016-10-30 21:38:38 +00:00
DIR="${BASH_SOURCE}"
2016-10-30 21:46:09 +00:00
if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
. "$DIR/require.sh"
2016-10-15 13:16:35 +00:00
2016-10-27 08:09:43 +00:00
$COMPOSER_COMMAND install
2016-10-15 13:16:35 +00:00
php bin/console wallabag:install
php bin/console server:run