summaryrefslogtreecommitdiffstats
path: root/stackexchange/README
diff options
context:
space:
mode:
Diffstat (limited to 'stackexchange/README')
-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