Skip to content

Commit ab5c8ee

Browse files
committed
Create setup script to fetch latest data to display Dojos on Map
1 parent 30094c5 commit ab5c8ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fetch_latest_data.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
bundle exec rake get_data_from_earth # Dojo 情報一覧を取得
4+
bundle exec rake get_data_from_japan # Japan's API からデータを取得
5+
bundle exec rake cache_dojo_logos # 取得したロゴ画像をキャッシュ
6+
bundle exec rake upsert_dojos_geojson # 上記データから GeoJSON を生成

0 commit comments

Comments
 (0)