summaryrefslogtreecommitdiffstats
path: root/stackexchange
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-03 01:40:02 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-03 01:40:02 -0500
commit153fe986ea1c25d6c09b89368d71103aa76f0f23 (patch)
treedd8fdec338006b55cfc0b37157274fc7a7fab0c5 /stackexchange
parente6f49c04ab60a1729f09aee50804ce83f4869a17 (diff)
downloadaskbot-153fe986ea1c25d6c09b89368d71103aa76f0f23.tar.gz
askbot-153fe986ea1c25d6c09b89368d71103aa76f0f23.tar.bz2
askbot-153fe986ea1c25d6c09b89368d71103aa76f0f23.zip
fixed README
Diffstat (limited to 'stackexchange')
-rw-r--r--stackexchange/README7
1 files changed, 5 insertions, 2 deletions
diff --git a/stackexchange/README b/stackexchange/README
index 4d3f7750..3eb1fea9 100644
--- a/stackexchange/README
+++ b/stackexchange/README
@@ -1,6 +1,6 @@
this app's function will be to:
-* install it's own tables
+* install it's own tables <--- done
* read SE xml dump into DjangoDB
* populate osqa database
* remove SE tables
@@ -10,7 +10,10 @@ So far models are automatically created via:
1) add 'stackexchange' to the list of installed apps
2) type commands
+ #in-place removal of xml namspace prefix to make parsing easier
+ perl -pi -w -e 's/xs://g' $SE_DUMP_PATH/xsd/*.xsd
+
cd stackexchange
- python parse_models.py SE_DUMP/xsd/*.xsd > models.py
+ python parse_models.py $SE_DUMP_PATH/xsd/*.xsd > models.py
cd ..
python manage.py syncdb