summaryrefslogtreecommitdiffstats
path: root/stackexchange/README
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-04 21:47:03 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-04 21:47:03 -0500
commitb807b27c8c3ca1a27c1467ca54885f04ed4d6fa0 (patch)
treedbaab41324014da414d831adad48455b3c26608a /stackexchange/README
parent153fe986ea1c25d6c09b89368d71103aa76f0f23 (diff)
downloadaskbot-b807b27c8c3ca1a27c1467ca54885f04ed4d6fa0.tar.gz
askbot-b807b27c8c3ca1a27c1467ca54885f04ed4d6fa0.tar.bz2
askbot-b807b27c8c3ca1a27c1467ca54885f04ed4d6fa0.zip
SE data seems to load into stackexchange tables
Diffstat (limited to 'stackexchange/README')
-rw-r--r--stackexchange/README10
1 files changed, 8 insertions, 2 deletions
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