zulip/tools/test-slack-importer

9 lines
294 B
Plaintext
Raw Normal View History

2017-12-08 11:29:37 +01:00
#!/usr/bin/env bash
set -ev
wget https://github.com/houstondatavis/slack-export/archive/master.zip
mv master.zip slack-export-master.zip
./manage.py convert_slack_data $PWD/slack-export-master.zip "realm_name" --output zulip_data
./manage.py import --destroy-rebuild-database $PWD/zulip_data