[tor-commits] [bridgedb/master] update README

arma at torproject.org arma at torproject.org
Mon Sep 19 03:38:17 UTC 2011


commit 054560d33d74e7120f1de62eb6f637b2f2e1439f
Author: aagbsn <aagbsn at extc.org>
Date:   Sun Sep 18 20:11:54 2011 -0700

    update README
---
 README |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/README b/README
index a21e273..2c0b357 100644
--- a/README
+++ b/README
@@ -14,9 +14,16 @@ To set up:
  - To install Maxmind GeoIP
    - Debian: apt-get install python-geoip
    - Others: http://www.maxmind.com/app/python 
- - To enable recaptcha support, set the options RECAPTCHA_ENABLED,
-     RECAPTCHA_PUB_KEY, and RECAPTCHA_PRIV_KEY in bridgedb.conf. 
-     A recaptcha.net account is required. 
+ - To enable recaptcha support
+   - set the options RECAPTCHA_ENABLED, RECAPTCHA_PUB_KEY,
+     and RECAPTCHA_PRIV_KEY in bridgedb.conf. 
+   - A recaptcha.net account is required. 
+   - Install these required packages:
+     - Debian: apt-get install python-recaptcha python-beautifulsoup
+     - Python: pip install recaptcha-client BeautifulSoup
+     - Others: http://pypi.python.org/pypi/recaptcha-client
+             : http://pypi.python.org/pypi/BeautifulSoup
+
 
 To re-generate and update the i18n files (in case translated strings
 have changed in BridgeDB):
@@ -61,9 +68,16 @@ To indicate which bridges are blocked:
  - For GeoIP support make sure to install Maxmind GeoIP
 
 To update the SQL schema:
- - CREATE TABLE BlockedBridges ( id INTEGER PRIMARY KEY NOT NULL, hex_key, blocking_country);
- - CREATE INDEX BlockedBridgesBlockingCountry on BlockedBridges(hex_key);
- - REPLACE INTO Config VALUES ( 'schema-version', 2 );
+ - Install sqlite3:
+   - Debian: apt-get install sqlite3
+   - Others: http://www.sqlite.org/download.html 
+ - Run "sqlite3  path/to/bridgedist.db.sqlite"
+ - Enter the following commands at the prompt: sqlite>
+   CREATE TABLE BlockedBridges ( id INTEGER PRIMARY KEY NOT NULL, hex_key, blocking_country);
+   CREATE INDEX BlockedBridgesBlockingCountry on BlockedBridges(hex_key);
+   CREATE TABLE WarnedEmails ( email PRIMARY KEY NOT NULL, when_warned);
+   CREATE INDEX WarnedEmailsWasWarned on WarnedEmails ( email );
+   REPLACE INTO Config VALUES ( 'schema-version', 2 );
  
 
 Support



More information about the tor-commits mailing list