]> git.immae.eu Git - github/wallabag/wallabag.git/blame - scripts/dev.sh
Usage of composer.phar if it's found
[github/wallabag/wallabag.git] / scripts / dev.sh
CommitLineData
f48a6f3a 1#! /usr/bin/env bash
9998c725
NL
2# You can execute this file to install wallabag dev environment
3# eg: `sh dev.sh`
4
c4d9a8d6
NL
5COMPOSER_COMMAND='composer'
6
9998c725
NL
7DIR="${BASH_SOURCE%/*}"
8if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
9. "$DIR/require.sh"
f48a6f3a 10
c4d9a8d6 11$COMPOSER_COMMAND install
f48a6f3a
TC
12php bin/console wallabag:install
13php bin/console server:run