From 22cb22152e62cf84aebf01243d654e61eda5f355 Mon Sep 17 00:00:00 2001 From: Josh Mudge Date: Fri, 27 Apr 2018 19:46:23 -0600 Subject: [PATCH] Update with sqlite plugin and permissions update + comments. --- install.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c2db152..5242051 100644 --- a/install.sh +++ b/install.sh @@ -1,8 +1,16 @@ # Wallabag Install Script v1.0 by Joshua Mudge # Ad Mejorem Dei Glorium -sudo apt-get install php php-curl php-dom php-gd php-xml php-bcmath php-mbstring php-fpm -git clone https://github.com/wallabag/wallabag.git +sudo apt-get install nginx php php-curl php-dom php-gd php-xml php-bcmath php-mbstring php-fpm php7.0-sqlite3 +cd /var/www/ +sudo git clone https://github.com/wallabag/wallabag.git +sudo chown -R $USER:$USER /var/www/wallabag cd wallabag curl -s https://getcomposer.org/installer | php make install + +# You also need to install a database server, which it didn't tell you. Still need to automate parameters.yml +# %kernel.cache_dir%/data.db +# https://doc.wallabag.org/en/admin/parameters.html +# Use pdo_sqlite for driver and %kernel.cache_dir%/data.db for database path. +# You can't use subdomains for the install.