aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev.sh
blob: 0703ced1ef9111ef4c08d055db471fb43f50fad3 (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/scripts"; fi
. "$DIR/require.sh"

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