summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-06-17 18:08:42 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-06-17 18:08:42 -0400
commit90b0d11c5c2f2cde507bbfc204e49befdecf4540 (patch)
tree2c74fa8dc206b9c890bc63205db0abba55c30d70
parentd3c84e5fe9751434f4d3ad4afb0eace8d9219a44 (diff)
downloadaskbot-90b0d11c5c2f2cde507bbfc204e49befdecf4540.tar.gz
askbot-90b0d11c5c2f2cde507bbfc204e49befdecf4540.tar.bz2
askbot-90b0d11c5c2f2cde507bbfc204e49befdecf4540.zip
added documentation for zendesk import
-rw-r--r--askbot/doc/source/import-data.rst32
-rw-r--r--askbot/doc/source/index.rst2
2 files changed, 27 insertions, 7 deletions
diff --git a/askbot/doc/source/import-data.rst b/askbot/doc/source/import-data.rst
index c2cfc1b3..e0158d81 100644
--- a/askbot/doc/source/import-data.rst
+++ b/askbot/doc/source/import-data.rst
@@ -4,17 +4,37 @@
Import other forums into Askbot
===============================
-At this time only StackExchange import is supported.
+Askbot supports importing of data from StackExchange and Zendesk.
-There are two ways to import your StackExchange dump into Askbot:
+.. warning::
+ If your database contains any data prior to importing, please back it up before proceeding.
+
+StackExchange
+=============
+
+Add `askbot.importers.stackexchange` to the list of `INSTALLED_APPS` list in your `settings.py`, then run::
+ python manage.py syncdb
+
+Then there will be two ways to import your StackExchange dump:
* via the web at url `/import-data/`, relative to your forum installation
* using a management command::
python manage.py load_stackexchange /path/to/your-se-data.zip
-Before importing the data, an entry `askbot.importers.stackexchange` must be added to
-the `INSTALLED_APPS` list in your `settings.py` file and a command `python manage.py syncdb` run
-to initialize the stackexchange tables.
-
In the case your database is not empty at the beginning of the process - **please do back it up**.
+
+Zendesk
+=======
+Add `askbot.importers.zendesk` to the list of `INSTALLED_APPS` in the `settings.py`,
+run `python manage.py syncdb`.
+
+Prepare your zendesk files: put all your .xml files into one directory and tar-zip it::
+
+ mkdir somedir
+ mv *.xml somedir #select the zendesk xml files and move them to the directory
+ tar cvfz zendesk.tgz somedir #name of the tgz file is not important
+
+Then run the import script::
+
+ python manage.py import_zendesk zendesk.tgz #file name is the parameter
diff --git a/askbot/doc/source/index.rst b/askbot/doc/source/index.rst
index c8580a46..2653b2df 100644
--- a/askbot/doc/source/index.rst
+++ b/askbot/doc/source/index.rst
@@ -19,7 +19,7 @@ at the forum_ or by email at admin@askbot.org
Create and configure the site files<initial-configuration>
Initialize the database tables <initialize-database-tables>
Deploy on a webserver <deployment>
- Import data (StackExchange) <import-data>
+ Import data (StackExchange & ZenDesk) <import-data>
Appendix A: Maintenance procedures <management-commands>
Appendix B: Sending email to askbot <sending-email-to-askbot>
Appendix C: Optional modules <optional-modules>