Skip to content

🗾 地図から探す CoderDojo『DojoMap』 - A map for visitors to find out a CoderDojo nearby.

License

Notifications You must be signed in to change notification settings

coderdojo-japan/map.coderdojo.jp

Repository files navigation

Deploy to GitHub Pages pages-build-deployment Daily Update

🗾 DojoMap - 地図で CoderDojo を探す

CoderDojo の地図『DojoMap』で、 最寄りの CoderDojo を探してみよう! 🔍 💨 https://map.coderdojo.jp/

DojoMap


🔰 DojoMap の使い方

  1. 🗾 coderdojo.jp の「地図情報から探す」をクリック CoderDojo Japan

  2. 🗺️ 地図情報が表示されたら気になる CoderDojo マーカーをクリック DojoMap

  3. ☯️ CoderDojo の連絡先情報などが表示されるので、そこから詳細へ GO! CoderDojo 富山

スライド: 2022年度 CoderDojo Japan 活動報告 - SpeakerDeck
解説動画: 2022年度 CoderDojo Japan 活動報告 - YouTube


💎 DojoMap のセットアップ方法(開発者向け)

  1. ローカル環境で Ruby が実行できることを確認する

    $ ruby --version
    
  2. 利用する Ruby ライブラリをインストールする

    $ bundle install
    
  3. CoderDojo Zen から Dojo 情報一覧を取得する(dojos_earth.jsonが更新されます)

    $ bundle exec rake get_data_from_earth
    
  4. CoderDojo Japan から Dojo 情報一覧を取得する(dojos_japan.jsonが更新されます)

    # Japan's API からデータを取得し、ロゴ画像をキャッシュする
    $ bundle exec rake get_data_from_japan
    $ bundle exec rake cache_dojo_logos
    
  5. 上記2つの取得結果を組み合わせて dojos.geojson ファイルを生成する

    $ bundle exec rake upsert_dojos_geojson
    
  6. ローカル環境で生成された DojoMap を確認する

    # 必要なライブラリをインストール
    $ bundle install
    
    # ローカルサーバーを立ち上げる
    $ bundle exec jekyll server
    
    # ブラウザでローカルサーバーにアクセス
    $ open http://localhost:4000
    

ローカル環境で確認している様子のスクショ


📚 関連記事・プレスリリースなど


🖨️ 地図データを印刷するときの注意点

DojoMap の画面右下にあるクレジット表記および openstreetmap.org/copyright を画像に含める、もしくはテキストとして別途追記いただくことで、ワークショップや展示物としても本地図データをご活用いただけます。

Books, magazines, and printed maps

For a printed map and similar media (that is ebooks, PDFs and so on), the credit must appear beside the map if that is where other such credits appear, or in a footnote/endnote if that is where other credits appear, or in the “acknowledgements” section of the publication (often at the start of a book or magazine) if that is where other credits appear. The URL to openstreetmap.org/copyright must be printed out.


💳 License

Check out each license

This web application is developed with many other brilliant works!
Check out the followings if you are interested in. 😉

Libraries & Icons

The libraries like RubyGems used in this web application have their own licenses. Say, DojoMap uses Jekyll, which is licensed under the terms of the MIT License.

This repository may also use icons created by Font Awesome, licensed under SIL OFL 1.1, and Twemoji, created by Twitter, licensed under the MIT License.

Thanks for their great works to make this app published! 💖

Logos & Photos

The images, such as logos and photos of each dojo, are NOT published under the following license. Contact its owner, like the maintainer of linked external website, before using them. 😌

Codes & Others

The source codes, such as HTML/CSS/JavaScript and Ruby codes not declared above, are published under The MIT License below. Feel free to refer, copy, or share them. And contact info@coderdojo.jp if you find anything unclear.

Copyright © 一般社団法人 CoderDojo Japan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


©️ DojoMap's Copyright

About

🗾 地図から探す CoderDojo『DojoMap』 - A map for visitors to find out a CoderDojo nearby.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages