diff options
Diffstat (limited to 'tech/miniflux.txt')
-rw-r--r-- | tech/miniflux.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tech/miniflux.txt b/tech/miniflux.txt new file mode 100644 index 0000000..91fd386 --- /dev/null +++ b/tech/miniflux.txt @@ -0,0 +1,46 @@ +Server based RSS Reader. + +Available via AUR. + +Config file at: /etc/miniflux.conf + +''' +DATABASE_URL=postgres://miniflux:tryptaminevfr$32@localhost/miniflux?sslmode=disable +RUN_MIGRATIONS=1 +HTTPS=1 +BASE_URL=https://rss.luxagraf.net/ +LISTEN_ADDR=/run/miniflux/miniflux.sock +DISABLE_HSTS=1 +''' + +More at: https://miniflux.app/docs/configuration.html + +Setup postgres user per: https://miniflux.app/docs/database.html + +//# Switch to the postgres user +$ su - postgres + +//# Create a database user for Miniflux +$ createuser -P miniflux +Enter password for new role: ****** +Enter it again: ****** + +//# Create a database for miniflux that belongs to our user +$ createdb -O miniflux miniflux + +//# Create the extension hstore as superuser +$ psql miniflux -c 'create extension hstore' +CREATE EXTENSION + +ALTER USER miniflux WITH SUPERUSER; +-- Run the migrations (sudo miniflux -c /etc/miniflux.conf -migrate) +ALTER USER miniflux WITH NOSUPERUSER; + +Set up Nginx: https://miniflux.app/docs/howto.html#reverse-proxy-unix-socket +(use certbot) + +Then run miniflux via two service files, one a socket, the other a service, as detailed here: https://miniflux.app/docs/howto.html#systemd-socket-activation + +create an admin user: sudo miniflux -c /etc/miniflux.conf -create-admin + +login to the web interface at rss.luxagraf.net. |