+cp -r conf/dbsettings.py.tmp conf/dbsettings.py
+# And edit dbsettings.py
+
+# Set up permissions on the data dir
+sudo chown -R www-data data
+
+# Perhaps also set up the sticky bit, if appropriate (for my setup, this is
+# mostly so the group still has read access).
+sudo chmod -R g+s data
+