mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 02:35:04 +08:00
30990006a9
This reduces chances of errors where consumers of strings mutate inputs and reduces memory usage of the app. Test suite passes now, but there may be some stuff left, so we will run a few sites on a branch prior to merging |
||
---|---|---|
.. | ||
test | ||
export.rb | ||
import.rb | ||
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'