dennogumi/content/post/2015-06-01-isso-for-comments.markdown
Luca Beltrame 64b24842b8
All checks were successful
continuous-integration/drone/push Build is passing
Update all posts to not show the header text
2021-01-13 00:05:30 +01:00

2.1 KiB

categories comments date tags title omit_header_text disable_share
General
Linux
true 2015-06-01T12:04:58Z
comments
isso
jekyll
blog
Isso for comments true true

As I said in my latest post, I wasn't very happy with using Disqus to store my comments, mainly because I do not want my data to be hosted by someone else. Thanks to some commenters, I was made aware of an alternative, called isso.

After reading the online documentation, I decided to set it up with dennogumi.org. It was all a matter of creating a new user called isso, setting a virtualenv to its home dir, and then installing isso itself and uWSGI:

{{< highlight bash >}} virtualenv ./ ./bin/activate {{< / highlight >}}

And then just start installing:

{{< highlight bash >}} pip install isso pip install uwsgi # for deployment {{< / highlight >}}

I then set up a system-wide configuration in /etc/isso/ which included the uwsgi configuration and isso's own file. The last bit needed was to create a systemd unit file to run uWSGI properly (as inspired by the uWSGI docs):

{{< highlight ini >}}

[Unit] Description=uWSGI After=syslog.target

[Service] ExecStart=/home/isso/bin/uwsgi --ini /etc/isso/uwsgi.ini Restart=always KillSignal=SIGQUIT Type=notify StandardError=syslog NotifyAccess=all User=isso Group=isso

[Install] WantedBy=multi-user.target

{{< / highlight >}}

And here's my uwsgi.ini, for reference:

{{< highlight ini >}}

[uwsgi] http = :8050 master = true ; set to nproc processes = 8 cache2 = name=hash,items=1024,blocksize=32 ; you may change this spooler = /home/isso/spool/ module = isso.run ; uncomment if you use a virtual environment virtualenv = /home/isso/ env = ISSO_SETTINGS=/etc/isso/isso.conf

{{< / highlight >}}

Lastly, I needed to create a new domain for dennogumi.org and set nginx to proxy over to port 8050. Everything else was done as the isso documentation suggested. And that's where you see it now. I have imported the comments from Disqus, so everything should be hopefully in place. Let me know if there are issues.