mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-29 11:41:00 -05:00
Also created a handy rake task to depopulate Null Island (i.e. fix up anyone's lat/long that's somehow ended up as 0,0).
19 lines
545 B
Bash
Executable File
19 lines
545 B
Bash
Executable File
#!/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 "2013-10-24 - fix zeroed geolocations"
|
|
rake growstuff:depopulate_null_island
|
|
|
|
echo "2013-10-24 - initialize garden locations"
|
|
rake growstuff:oneoff:initialize_garden_locations
|
|
|