18 lines
447 B
Bash
18 lines
447 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
sudo usermod --shell /bin/bash www-data
|
|
|
|
git clone https://github.com/wallabag/wallabag.git /var/www/wallabag
|
|
mv /tmp/wallabag-params.yml /var/www/wallabag/app/config/parameters.yml
|
|
chown -R www-data:www-data /var/www/wallabag
|
|
|
|
sudo -i -u www-data bash << EOF
|
|
set -xe
|
|
|
|
cd /var/www/wallabag
|
|
make install
|
|
php bin/console --env=prod fos:user:create jdormit jeremy.dormitzer@gmail.com "$ADMIN_PASSWORD" --super-admin
|
|
EOF
|