Update with sqlite plugin and permissions update + comments.

This commit is contained in:
Josh Mudge 2018-04-27 19:46:23 -06:00
parent 803b8ae06a
commit 22cb22152e
1 changed files with 10 additions and 2 deletions

View File

@ -1,8 +1,16 @@
# Wallabag Install Script v1.0 by Joshua Mudge # Wallabag Install Script v1.0 by Joshua Mudge
# Ad Mejorem Dei Glorium # Ad Mejorem Dei Glorium
sudo apt-get install php php-curl php-dom php-gd php-xml php-bcmath php-mbstring php-fpm sudo apt-get install nginx php php-curl php-dom php-gd php-xml php-bcmath php-mbstring php-fpm php7.0-sqlite3
git clone https://github.com/wallabag/wallabag.git cd /var/www/
sudo git clone https://github.com/wallabag/wallabag.git
sudo chown -R $USER:$USER /var/www/wallabag
cd wallabag cd wallabag
curl -s https://getcomposer.org/installer | php curl -s https://getcomposer.org/installer | php
make install 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.