]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - scripts/dev.sh
Properly source require.sh
[github/wallabag/wallabag.git] / scripts / dev.sh
... / ...
CommitLineData
1#!/usr/bin/env bash
2# You can execute this file to install wallabag dev environment
3# eg: `sh dev.sh`
4
5COMPOSER_COMMAND='composer'
6REQUIRE_FILE='scripts/require.sh'
7
8if [ ! -f "$REQUIRE_FILE" ]; then
9 echo "Cannot find $REQUIRE_FILE"
10 exit 1
11fi
12
13. "$REQUIRE_FILE"
14
15$COMPOSER_COMMAND install
16php bin/console wallabag:install
17php bin/console server:run