Isso for comments
- CommentsAs 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:
virtualenv ./
./bin/activate
And then just start installing:
pip install isso
pip install uwsgi # for deployment
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):
[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
And here’s my uwsgi.ini, for reference:
[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
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.