[PATCH v2] pwclient: Add heuristics to find a whole series of patches
Doug Anderson
dianders at chromium.org
Sat Dec 22 09:48:58 EST 2012
FWIW, here's the steps I used to get some basic functionality on my Ubuntu box:
# Install postgres and psycopg2
sudo aptitude install postgresql python2.7-psycopg2
# Add a postgres user for the current user; give ability
# to create databases
sudo -u postgres createuser -dSR "${USER}"
# Add users for www-data and nobody
sudo -u postgres createuser -DSR nobody
sudo -u postgres createuser -DSR www-data
# Create the patchwork database
createdb patchwork
# Mostly from docs/INSTALL
mkdir -p lib/packages lib/python
cd lib/packages
# Fix from docs: add django as dest folder
svn checkout http://code.djangoproject.com/svn/django/tags/releases/1.2 django
cd ../python
ln -s ../packages/django/django ./django
cd ../..
# Fix from docs: tablednd no longer has version number upstream
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.js.zip
unzip jquery.tablednd.js.zip jquery.tablednd.js
cd ../../../htdocs/js/
ln -s ../../lib/packages/jquery/jquery-1.3.min.js ./
rm jquery.tablednd_0_5.js
ln -s ../../lib/packages/jquery/jquery.tablednd.js jquery.tablednd_0_5.js
cd ../..
cd apps
echo 'ENABLE_XMLRPC = True' > local_settings.py
PYTHONPATH=../lib/python ./manage.py syncdb
PYTHONPATH=../lib/python ./manage.py runserver
xdg-open http://localhost:8000/admin
# Add project LKML with list ID linux-kernel.vger.kernel.org
# Run attached (rough) "imapfeeder.py" to populate database
I'll try to incorporate some of the more obvious fixes above and send
a patch for docs/INSTALL, but probably won't have time to add all of
the above...
-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imapfeeder.py
Type: application/octet-stream
Size: 1092 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20121221/98a6f3c8/attachment-0001.obj>
More information about the Patchwork
mailing list