]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | DIR="${BASH_SOURCE}" | |
8 | if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi | |
9 | . "$DIR/require.sh" | |
10 | ||
11 | $COMPOSER_COMMAND install | |
12 | php bin/console wallabag:install | |
13 | php bin/console server:run |