]> git.immae.eu Git - github/wallabag/wallabag.git/blob - scripts/dev.sh
Added require.sh to check if composer is installed
[github/wallabag/wallabag.git] / scripts / dev.sh
1 #! /usr/bin/env bash
2 # You can execute this file to install wallabag dev environment
3 # eg: `sh dev.sh`
4
5 DIR="${BASH_SOURCE%/*}"
6 if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
7 . "$DIR/require.sh"
8
9 composer install
10 php bin/console wallabag:install
11 php bin/console server:run