[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r21932: {weather} Update README to reflect changing Weather conditions ;) (weather/trunk)
Author: kaner
Date: 2010-03-12 19:40:05 +0000 (Fri, 12 Mar 2010)
New Revision: 21932
Modified:
weather/trunk/README
weather/trunk/Weather.py
Log:
Update README to reflect changing Weather conditions ;)
Modified: weather/trunk/README
===================================================================
--- weather/trunk/README 2010-03-12 19:22:56 UTC (rev 21931)
+++ weather/trunk/README 2010-03-12 19:40:05 UTC (rev 21932)
@@ -7,28 +7,22 @@
On debian systems, the following packages are required to run it:
-python2.5
-python-gdbm
-python-dns
-python-webpy
+python
+python-pysqlite2
+sqlite3
+python-twisted-bin
+python-twisted-core
+python-twisted-web
tor
-If you're running this in apache, you'll also need:
-python-flup
-libapache2-mod-fastcgi (non-free archive) (we'll use something better soon)
+Since the rewrite of Weather with Twisted, there is no need to run Apache in
+front of Weather. You can still do so if you like (or have an Apache server
+running anyway), but you will need to forward requests to Weather in some way.
-You may want to use our configuration file (this is a debian example):
- cp tor-weather-apache2.conf /etc/apache2/sites-available/tor-weather
- a2ensite tor-weather
- /etc/init.d/apache2 reload
-
/etc/tor/torrc should be configured to enable the control port and insist upon
authentication. Plaintext control port authentication information
should be placed in config.py, along with a publicly addressable url prefix
("http://server.domain.com:port").
-Weather stores its records in a set of gdbm databases: requests.gdbm,
-subscriptions.gdbm, unsubscriptions.gdbm, and failures.gdbm. For real usage,
-it is absolutely essential to backup subscriptions.gdbm properly, and
-unsubscriptions.gdbm is pretty important too (though the code could be modified
-to recover from its loss).
+Weather stores its records in a set a Sqlite3 database: subscriptions.db
+It may be helpful to make backups of that file.
Modified: weather/trunk/Weather.py
===================================================================
--- weather/trunk/Weather.py 2010-03-12 19:22:56 UTC (rev 21931)
+++ weather/trunk/Weather.py 2010-03-12 19:40:05 UTC (rev 21932)
@@ -68,7 +68,6 @@
except Exception, e:
self.error = "Unknown error while sending confirmation mail. " + \
"Please try again later."
- print e
# "[Exception %s]" % sys.exc_info()[0]
self._rollBack()
return