blob: 91fd386cd12431bb6fc2229963e06c086c0d04d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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.
|