aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev.sh
blob: 9f5b2432bebb04eafef732d14ee0f54226384891 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env bash
# You can execute this file to install wallabag dev environment
# eg: `sh dev.sh`

DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. "$DIR/require.sh"

composer install
php bin/console wallabag:install
php bin/console server:run