#!/bin/bash

# tasks to run at deploy time, usually after 'rake db:migrate'

# When adding tasks, do so in chronological order, and note the date
# when it was added.  This will help us know which ones have been run
# and can safely be commented out or removed.

# Default format is:
# echo "YYYY-MM-DD - do something or other"
# rake growstuff:oneoff:something

echo "2014-12-01 - load lots of new crops"
rake growstuff:import_crops file=db/seeds/crops-12-mint.csv
rake growstuff:import_crops file=db/seeds/crops-13-brassicas.csv
rake growstuff:import_crops file=db/seeds/crops-14-london-workingbee.csv
rake growstuff:import_crops file=db/seeds/crops-15-squashes.csv

echo "2014-12-01 - load alternate names for crops"
rake growstuff:oneoff:add_alternate_names

echo "2015-01-28 - populate the harvest si_weight field"
rake growstuff:oneoff:populate_si_weight

echo "2015-01-30 - build Elasticsearch index"
rake growstuff:oneoff:elasticsearch_create_index

#!/bin/bash

# tasks to run at deploy time, usually after 'rake db:migrate'

# When adding tasks, do so in chronological order, and note the date
# when it was added.  This will help us know which ones have been run
# and can safely be commented out or removed.

# Default format is:
# echo "YYYY-MM-DD - do something or other"
# rake growstuff:oneoff:something

echo "2015-01-30 - build Elasticsearch index"
rake growstuff:oneoff:elasticsearch_create_index

Remove one-off tasks that were run for Release 8.
Remove one-off tasks that were run for Release 8.

The ElasticSearch index task was run, but failed because we didn't have
an ElasticSearch instance to run it against.
