Technomancy

Entries tagged “zine”

How to upgrade Zine

written by rory, on Jan 11, 2009 3:03:00 PM.

When I initially installed Zine, I used the latest version, 0.1.1. There was a bug in it where you couldn't get a feed for a tag However when 0.1.2 was released, it fixed this bug, so I needed to upgrade Zine. I am using Zine through WSGI. I had configured it to be installed in /usr/local/, i.e. I had installed it with
$ unzip Zine-0.1.1.zip
$ cd Zine-0.1.1
$ ./configure --prefix=/usr/local/
Generated Makefile
type "make install" to install Zine
$ sudo make install
Installing to /usr/local
Using /usr/bin/python
All done.
In order to upgrade, I did something similar.
$ wget http://zine.pocoo.org/releases/Zine-0.1.2.zip
$ unzip Zine-0.1.2.zip
$ cd Zine-0.1.2
$ ./configure --prefix=/usr/local/
Generated Makefile
type "make install" to install Zine
Before installing the new version, I uninstalled the old version. I'm not sure if this is required, I just did it out of habit. In order to do this you need to keep the old Zine-0.1.1 directory around. i.e. don't delete that directory after installing.
$ cd ../Zine-0.1.1
$ sudo make uninstall
[: 7: ==: unexpected operator
Uninstalling Zine from /usr/local
All done.
I'm not sure what that error message is, however I was able to upgrade successfully. Then you need to install the new version.
$ cd ../Zine-0.1.2
$ sudo make install
Installing to /usr/local
Using /usr/bin/python
All done.
You then need to restart apache.
$ sudo /etc/init.d/apache2 restart
 * Restarting web server                                  [ OK ]
After that you should be using the latest version of Zine. You can check the version installed from the Admin page, through the System -> Information page.

reCAPTCHA Zine plugin done

written by rory, on Jan 11, 2009 1:51:00 AM.

I have completed my reCAPTCHA Zine plugin, and I've installed it on this site, so you'll have to enter a captcha in order to post comments. The code is kept under git, and is available here: http://repo.or.cz/w/recaptcha_spam_plugin.git. Feel free to check it out and make improvments.

Writing a reCAPTCHA plugin for Zine

written by rory, on Jan 5, 2009 4:35:00 PM.

I currently have comments enabled on this blog. Comment spam is a big problem. To combat it, I would like to use reCAPTCHA. There is no plugin for Zine yet, so I have to write one.