local working copy of the website code, so you have something to work
with. Here's a quick step-by-step on how to do that:
-1. Make sure you have downloaded and installed django *version 1.2*
+#. Make sure you have downloaded and installed django *version 1.2*
(or later). You will also need the dependencies *psycopg2*, *yaml*
and *markdown* (these are python libraries, so prefix python- for Debian
packages, for example).
NO_HTTPS_REDIRECT=True
SESSION_COOKIE_SECURE=False
SESSION_COOKIE_DOMAIN=None
+ DATABASE_NAME="pgweb"
#. In the pgweb directory run the following command to create all
tables and indexes, as well as create a superuser for your local
installation::
"relnotes": "release-8-4.html",
"tree": "8.4",
"reldate": "2009-07-01",
+ "eoldate": "2014-07-01",
+ "firstreldate": "2009-07-01",
"latestminor": 0
}
},
"relnotes": "release-8-3-7.html",
"tree": "8.3",
"reldate": "2009-03-17",
+ "eoldate": "2013-02-01",
+ "firstreldate": "2009-03-17",
"latestminor": 7
}
},
"fields": {
"relnotes": "release-8-2-13.html",
"tree": "8.2",
- "reldate": "2009-03-17",
+ "reldate": "2009-03-17",
+ "eoldate": "2011-12-01",
+ "firstreldate": "2009-03-17",
"latestminor": 13
}
},
"relnotes": "release.html#RELEASE-8-1-17",
"tree": "8.1",
"reldate": "2009-03-17",
+ "eoldate" : "2010-11-01",
+ "firstreldate": "2009-03-17",
"latestminor": 17
}
},
"relnotes": "release.html#RELEASE-8-0-21",
"tree": "8.0",
"reldate": "2009-03-17",
+ "eoldate": "2010-10-01",
+ "firstreldate": "2009-03-17",
"latestminor": 21
}
},
--- /dev/null
+--
+-- tables created for compatibility with migration from old system.
+-- Once we drop migration support they can be removed, but for now
+-- dummies are required for functions to work.
+--
+CREATE TABLE users_old (
+ userid character varying(16),
+ fullname character varying(128),
+ authorblurb text,
+ email character varying(128),
+ communitydoc_superuser integer,
+ created timestamp with time zone,
+ lastlogin timestamp with time zone,
+ matrixeditor integer,
+ pwdhash text,
+ resethash text,
+ resethashtime timestamp with time zone,
+ sshkey text,
+ sshkey_last_update timestamp with time zone
+);
--
-- Create a function to purge from varnish cache
--- By defalut this adds the object to a pgq queue,
+-- By default this adds the object to a pgq queue,
-- but this function can be replaced with a void one
-- when running a development version.
--