pre_migration_hook.sh 371 B

1234567891011
  1. #!/usr/bin/env bash
  2. set -e
  3. SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
  4. cd $SCRIPT_PATH
  5. echo "importing accounts"
  6. yarn joystream-cli account:import ./test-data/initial-members.json
  7. echo "creating 1 channel with 1 video in it"
  8. yarn joystream-cli content:createChannel -i ./assets/TestChannel.json
  9. yarn joystream-cli content:createChannel -c 0 -i ./assets/TestVideo.json