From b807b27c8c3ca1a27c1467ca54885f04ed4d6fa0 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 4 Mar 2010 21:47:03 -0500 Subject: SE data seems to load into stackexchange tables --- stackexchange/README | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'stackexchange/README') diff --git a/stackexchange/README b/stackexchange/README index 3eb1fea9..f842e891 100644 --- a/stackexchange/README +++ b/stackexchange/README @@ -1,14 +1,14 @@ this app's function will be to: * install it's own tables <--- done -* read SE xml dump into DjangoDB +* read SE xml dump into DjangoDB <--- done * populate osqa database * remove SE tables So far models are automatically created via: 1) add 'stackexchange' to the list of installed apps -2) type commands +2) run: #in-place removal of xml namspace prefix to make parsing easier perl -pi -w -e 's/xs://g' $SE_DUMP_PATH/xsd/*.xsd @@ -17,3 +17,9 @@ So far models are automatically created via: python parse_models.py $SE_DUMP_PATH/xsd/*.xsd > models.py cd .. python manage.py syncdb + +3) run: + + python manage.py load_stackexchange + + does not yet populate final data -- cgit v1.2.3-1-g7c22