discourse/script/import_scripts/quandora
David McClure 4fd83805a2 Fix issue setting post author during import from Quandora 2016-04-09 02:50:22 -07:00
..
test
README.md
export.rb
import.rb Fix issue setting post author during import from Quandora 2016-04-09 02:50:22 -07:00
quandora_api.rb
quandora_question.rb

README.md

To get started, copy the config.ex.yml to config.yml, and then update the properties for your Quandora instance.

domain: 'my-quandora-domain'
username: 'my-quandora-username'
password: 'my-quandora-password'

Create the directory for the json files to export: mkdir output Then run ruby export.rb /path/to/config.yml

To import, run ruby import.rb

To run tests, include id's for a KB and Question that includes answers and comments

kb_id: 'some-kb-id'
question_id: 'some-question-id'