2016-10-30 22:38:38 +01:00
|
|
|
#!/usr/bin/env bash
|
2016-10-27 09:53:09 +02:00
|
|
|
# You can execute this file to install wallabag dev environment
|
|
|
|
# eg: `sh dev.sh`
|
|
|
|
|
2016-10-27 10:09:43 +02:00
|
|
|
COMPOSER_COMMAND='composer'
|
|
|
|
|
2016-10-30 22:38:38 +01:00
|
|
|
DIR="${BASH_SOURCE}"
|
2016-10-30 22:46:09 +01:00
|
|
|
if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
|
2016-10-27 09:53:09 +02:00
|
|
|
. "$DIR/require.sh"
|
2016-10-15 15:16:35 +02:00
|
|
|
|
2016-10-27 10:09:43 +02:00
|
|
|
$COMPOSER_COMMAND install
|
2016-10-15 15:16:35 +02:00
|
|
|
php bin/console wallabag:install
|
|
|
|
php bin/console server:run
|