File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -45,24 +45,17 @@ https://map.coderdojo.jp/
4545
46461 . [ CoderDojo Japan] ( https://coderdojo.jp/dojos.json ) から Dojo 情報一覧を取得する([ ` dojos_japan.json ` ] ( https://github.com/coderdojo-japan/map.coderdojo.jp/blob/main/_data/dojos_japan.json ) が更新されます)
4747 ```
48- # Japan's API からデータを取得し、ロゴ画像をキャッシュする
4948 $ bundle exec rake get_data_from_japan
50- $ bundle exec rake cache_dojo_logos
51- ```
52-
53- 1 . 上記2つの取得結果を組み合わせて [ ` dojos.geojson ` ] ( https://github.com/coderdojo-japan/map.coderdojo.jp/blob/main/dojos.geojson ) ファイルを生成する
54- ```
55- $ bundle exec rake upsert_dojos_geojson
5649 ```
5750
58511 . ローカル環境で生成された DojoMap を確認する
5952 ```
60- # 必要なライブラリをインストール
61- $ bundle install
62-
63- # ローカルサーバーを立ち上げる
53+ # ローカルサーバーを立ち上げる(Jekyllプラグインが自動的に以下を実行します)
54+ # - ロゴ画像のキャッシュ (cache_dojo_logos)
55+ # - GeoJSON の生成 (upsert_dojos_geojson)
56+ # - GeoJSON の圧縮 (compact_geojson)
6457 $ bundle exec jekyll server
65-
58+
6659 # ブラウザでローカルサーバーにアクセス
6760 $ open http://localhost:4000
6861 ```
You can’t perform that action at this time.
0 commit comments