From edfda530f257b2e5514273fed85927340380c085 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Tue, 28 May 2019 22:43:10 -0400 Subject: [PATCH] Make edit to Isso post The Debian package just isn't working for me anymore. --- _posts/2017-11-15-isso-comments.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/_posts/2017-11-15-isso-comments.md b/_posts/2017-11-15-isso-comments.md index 3adde94..d9620ca 100644 --- a/_posts/2017-11-15-isso-comments.md +++ b/_posts/2017-11-15-isso-comments.md @@ -35,6 +35,9 @@ I hit a few snags while installing it, however. ## Debian Package +**I don't recommend using the Debian package anymore as it frequently goes out +of date and breaks on distribution upgrades. See bottom edit.** + There is a very handy [Debian package](https://github.com/jgraichen/debian-isso) that someone has made for Isso. Since my server runs Ubuntu 16.04, and Ubuntu is based off of Debian, this is a package I can install with my normal ubuntu @@ -128,6 +131,8 @@ so the `data-isso` attribute on the script tag needed to be ## The Uncaught ReferenceError +**You won't need to fix this if you install Isso from PIP! See bottom edit.** + There's [an issue](https://github.com/posativ/isso/issues/318) with that Debian package that causes a JavaScript error in the console when trying to load the Isso script in the browser. I solved this by uploading the latest version of the @@ -239,3 +244,16 @@ site instead of `http`. Now you can securely leave a comment if you want to yell at me for writing the wrong thing! + +## EDIT 5/28/2019: + +I don't recommend using the Debian package anymore since it frequently goes out +of date and breaks when upgrading your Linux distribution. + +Instead, follow the [Isso docs](https://posativ.org/isso/docs/install/) by +creating a [virtualenv](https://virtualenv.pypa.io/en/latest/) and then run `pip +install isso` and `pip install gunicorn` from within the virtualenv. Then, when +creating [a systemd +service](https://github.com/jgraichen/debian-isso/blob/master/debian/isso.service), +make sure to point to the gunicorn executable in that virtualenv (e.g. +`/opt/isso/bin/gunicorn`). It should load and run Isso from the same virtualenv.