mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 04:51:01 +00:00
20 lines
413 B
Bash
Executable file
20 lines
413 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# You can execute this file to install wallabag dev environment
|
|
# eg: `sh dev.sh`
|
|
|
|
COMPOSER_COMMAND='composer'
|
|
REQUIRE_FILE='scripts/require.sh'
|
|
|
|
if [ ! -f "$REQUIRE_FILE" ]; then
|
|
echo "Cannot find $REQUIRE_FILE"
|
|
exit 1
|
|
fi
|
|
|
|
. "$REQUIRE_FILE"
|
|
|
|
$COMPOSER_COMMAND install
|
|
if [ -z "$SKIP_WALLABAG_INITIALIZATION" ]
|
|
then
|
|
php bin/console wallabag:install
|
|
fi
|
|
php bin/console server:run $HOST
|