]> git.immae.eu Git - github/wallabag/wallabag.git/blob - scripts/dev.sh
baggy: remove logo from printed pages
[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 COMPOSER_COMMAND='composer'
6 REQUIRE_FILE='scripts/require.sh'
7
8 if [ ! -f "$REQUIRE_FILE" ]; then
9 echo "Cannot find $REQUIRE_FILE"
10 exit 1
11 fi
12
13 . "$REQUIRE_FILE"
14
15 $COMPOSER_COMMAND install
16 if [ -z "$SKIP_WALLABAG_INITIALIZATION" ]
17 then
18 php bin/console wallabag:install
19 fi
20 php bin/console server:run $HOST