]> git.immae.eu Git - github/wallabag/wallabag.git/blame - scripts/dev.sh
Merge pull request #4438 from wallabag/dependabot/composer/scheb/two-factor-bundle...
[github/wallabag/wallabag.git] / scripts / dev.sh
CommitLineData
038469e7 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 5COMPOSER_COMMAND='composer'
7c553a60 6REQUIRE_FILE='scripts/require.sh'
c4d9a8d6 7
7c553a60
MB
8if [ ! -f "$REQUIRE_FILE" ]; then
9 echo "Cannot find $REQUIRE_FILE"
10 exit 1
11fi
12
13. "$REQUIRE_FILE"
f48a6f3a 14
c4d9a8d6 15$COMPOSER_COMMAND install
488e3d7a
LD
16if [ -z "$SKIP_WALLABAG_INITIALIZATION" ]
17then
18 php bin/console wallabag:install
19fi
20php bin/console server:run $HOST