aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev.sh
blob: 233830e7c5d79ba4f19abe71e151fb4f31cc3d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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" ]]; then DIR="$PWD/scripts"; fi
. "$DIR/require.sh"

$COMPOSER_COMMAND install
php bin/console wallabag:install
php bin/console server:run