]> git.ozlabs.org Git - patchwork/blobdiff - docs/INSTALL
Add XML-RPC interface and command line client
[patchwork] / docs / INSTALL
index 1748601954c04cc095318f1cfde346433c94d4b8..cba69d55d664d532a13245224d8cba1ab824f25e 100644 (file)
@@ -62,6 +62,17 @@ in brackets):
          cd ../../apps
          ln -s ../lib/packages/django-registration ./registration
 
+       (OPTIONAL) If you want to enable the Patchwork XML-RPC interface,
+        which is required for pwclient to work, you'll need to set up the
+        django_xmlrpc package:
+
+         cd lib/packages/
+         wget \
+             http://django-xmlrpc.googlecode.com/files/django_xmlrpc-0.1.tar.gz
+         tar -zxf django_xmlrpc-0.1.tar.gz
+         cd ../../apps
+         ln -s ../lib/packages/django_xmlrpc ./django_xmlrpc
+
        The settings.py file contains default settings for patchwork, you'll
        need to configure settings for your own setup.
 
@@ -86,6 +97,11 @@ in brackets):
          MEDIA_ROOT
          TEMPLATE_DIRS
 
+        If you wish to enable the XML-RPC interface, add the following to
+        your local_settings.py file:
+
+         ENABLE_XMLRPC = True
+
        Then, get patchwork to create its tables in your configured database:
 
         cd apps/