X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=docs%2FINSTALL;h=cf6544ffa6b473ab22a2838e1acfa7dcbaf3742c;hb=ec250986948f1fef86e6a72ce9a8e0ed332ef057;hp=42822e3650aac51c9b788c15a73dbecb51174b07;hpb=ab0062c77d1fd7d1ed583d3db6528a06bface822;p=patchwork diff --git a/docs/INSTALL b/docs/INSTALL index 42822e3..cf6544f 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -9,7 +9,7 @@ You'll need the following (applications used for patchwork development are in brackets): * A python interpreter - * djano + * django * A webserver (apache) * mod_python or flup * A database server (postgresql) @@ -51,24 +51,36 @@ in brackets): mkdir -p lib/packages lib/python - At the time of release, patchwork depends on django version 1.0. - However, most distros don't provide 1.0 yet. If yours does, then you - can skip this step. Otherwise, do a: + At the time of release, patchwork depends on django version 1.0 or + later. Your distro probably provides this. If not, do a: cd lib/packages - svn checkout http://code.djangoproject.com/svn/django/tags/releases/1.0 + svn checkout http://code.djangoproject.com/svn/django/tags/releases/1.2 cd ../python ln -s ../packages/django/django ./django We also use the django-registration infrastructure from - http://code.google.com/p/django-registration/ + http://bitbucket.org/ubernostrum/django-registration/. Your distro + may provide the django-registration python module (in Ubuntu/Debian it's + called 'python-django-registration'). If not, download the module + and symlink it to lib/python/ : cd lib/packages/ - svn checkout \ - http://django-registration.googlecode.com/svn/trunk/registration/ \ - django-registration - cd ../../apps - ln -s ../lib/packages/django-registration ./registration + hg clone http://bitbucket.org/ubernostrum/django-registration/ + cd ../python + ln -s ../lib/packages/django-registration/registration ./registration + + We also use some Javascript libraries: + + cd lib/packages + mkdir jquery + cd jquery + wget http://jqueryjs.googlecode.com/files/jquery-1.3.min.js + wget http://www.isocra.com/articles/jquery.tablednd_0_5.js.zip + unzip jquery.tablednd_0_5.js.zip jquery.tablednd_0_5.js + cd ../../../htdocs/js/ + ln -s ../../lib/packages/jquery/jquery-1.3.min.js ./ + ln -s ../../lib/packages/jquery/jquery.tablednd_0_5.js ./ The settings.py file contains default settings for patchwork, you'll need to configure settings for your own setup. @@ -192,3 +204,11 @@ Some errors: doesn't have access to the patchwork tables in the database. Check that your web-server user exists in the database, and that it has permissions to the tables. + +* pwclient fails for actions that require authentication, but a username + and password is given int ~/.pwclient rc. Server reports "No authentication + credentials given". + + - if you're using the FastCGI interface to apache, you'll need the + '-pass-header Authorization' option to the FastCGIExternalServer + configuration directive.