Permalink
Browse files

Fixes in developer install instructions and scripts

Per Josh Kupershmidt
  • Loading branch information...
1 parent 47b839c commit 48d651118664d84613633fd843ea164249d81b25 @mhagander mhagander committed May 23, 2012
Showing with 34 additions and 3 deletions.
  1. +2 −1 docs/dev_install.rst
  2. +11 −1 pgweb/core/fixtures/data.yaml
  3. +20 −0 sql/compat_tables.sql
  4. +1 −1 sql/varnish.sql
View
@@ -5,7 +5,7 @@ So, you're ready to contribute to pgweb, and you want to set up a
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).
@@ -28,6 +28,7 @@ with. Here's a quick step-by-step on how to do that:
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::
@@ -6,6 +6,8 @@
"relnotes": "release-8-4.html",
"tree": "8.4",
"reldate": "2009-07-01",
+ "eoldate": "2014-07-01",
+ "firstreldate": "2009-07-01",
"latestminor": 0
}
},
@@ -16,6 +18,8 @@
"relnotes": "release-8-3-7.html",
"tree": "8.3",
"reldate": "2009-03-17",
+ "eoldate": "2013-02-01",
+ "firstreldate": "2009-03-17",
"latestminor": 7
}
},
@@ -25,7 +29,9 @@
"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
}
},
@@ -36,6 +42,8 @@
"relnotes": "release.html#RELEASE-8-1-17",
"tree": "8.1",
"reldate": "2009-03-17",
+ "eoldate" : "2010-11-01",
+ "firstreldate": "2009-03-17",
"latestminor": 17
}
},
@@ -46,6 +54,8 @@
"relnotes": "release.html#RELEASE-8-0-21",
"tree": "8.0",
"reldate": "2009-03-17",
+ "eoldate": "2010-10-01",
+ "firstreldate": "2009-03-17",
"latestminor": 21
}
},
View
@@ -0,0 +1,20 @@
+--
+-- 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
+);
View
@@ -2,7 +2,7 @@ BEGIN;
--
-- 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.
--

0 comments on commit 48d6511

Please sign in to comment.