[or-cvs] r17931: {projects} Update README to expand on install and locale process, updat (projects/gettor)

ioerror at seul.org ioerror at seul.org
Mon Jan 5 23:08:33 UTC 2009


Author: ioerror
Date: 2009-01-05 18:08:33 -0500 (Mon, 05 Jan 2009)
New Revision: 17931

Modified:
   projects/gettor/README
   projects/gettor/sample-gettorrc
Log:
Update README to expand on install and locale process, update sample to have localrdir


Modified: projects/gettor/README
===================================================================
--- projects/gettor/README	2009-01-05 23:02:46 UTC (rev 17930)
+++ projects/gettor/README	2009-01-05 23:08:33 UTC (rev 17931)
@@ -6,8 +6,27 @@
 To use gettor, you'll want a machine that invokes .forward files for users.
 You'll also want to have python and rsync installed.
 
-As an example, for the user 'gettor' we have the following files:
+You will want to ensure that you have a properly configured set 
+of mo files for each translation:
 
+   msgfmt -v gettor_en.po -o gettor.mo
+
+As an example, for the user 'gettor' we will setup gettor.py like so:
+
+Configure the default .gettorrc file:
+
+    gettor at moria:~$ cat .gettorrc 
+    [global]
+    stateDir    = /home/gettor/gettor/state/
+    blstatedir  = /home/gettor/gettor/bl/
+    wlstatedir  = /home/gettor/gettor/wl/
+    distdir     = /home/gettor/gettor/distdir/
+    packdir     = /home/gettor/gettor/packdir/
+    locale        = en
+    logSubSystem= stdout
+    logFile     = /home/gettor/gettor/logs/logfile
+    localedir   =  /home/gettor/gettor/i18n/
+
 Your .forward file should look like this:
 
     gettor at moria:~$ cat .forward 
@@ -29,13 +48,12 @@
     sent 1637 bytes  received 415792532 bytes  9558486.64 bytes/sec
     total size is 415735925  speedup is 1.00
     2009-01-05 16:49:29,226 (9222) Syncing Tor packages done.
-    2009-01-05 16:49:29,226 (9222) Syncing Tor packages done.
     2009-01-05 16:49:30,155 (9222) Building packages done.
-    2009-01-05 16:49:30,155 (9222) Building packages done.
 
 Now you'll install the cronjob. This clears the blacklist and updates 
 packages daily:
 
     gettor at moria:~/bin$ ./gettor.py -i
+    2009-01-05 17:34:53,911 (16646) Installing cron done.
 
 Now gettor.py is installed, prepared and ready to serve files. Send it email!

Modified: projects/gettor/sample-gettorrc
===================================================================
--- projects/gettor/sample-gettorrc	2009-01-05 23:02:46 UTC (rev 17930)
+++ projects/gettor/sample-gettorrc	2009-01-05 23:08:33 UTC (rev 17931)
@@ -10,3 +10,4 @@
 locale        = en
 logSubSystem= stdout
 logFile     = /tmp/logfile
+localdir    = /tmp/i18n/



More information about the tor-commits mailing list