aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev.sh
blob: fa3b2d5d5de32509e2e4160fd7a8b64ad9407c7f (plain) (tree)
1
2
3
4
5
6
7
8
9
                    


                                                               

                           


                                         
 
                         

                                
#! /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"; fi
. "$DIR/require.sh"

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