Code Monkey home page Code Monkey logo

gtfs-toei-bus's Introduction

GTFS-RT for Python

ディレクトリ構成

├── Dockerfile          :Dockerのイメージに関する設定
├── Makefile            :makeコマンドの設定
├── README.md           :はじめに読むドキュメント
├── docker-compose.yml  :Dockerのイメージに関する設定
├── gtfs_rt_pb2.py      :GTFS-RTの設定(Pythonに翻訳後)
└── main.py             :メインファイル

環境構築

.env.sample ファイルから .envファイルを作成しパラメータを設定する

# 環境設定ファイルを複製
$ cp .env.sample .env

② 下記コマンドを実行し環境構築

# 環境構築コマンド(docker-compose build)
$ make build

③ 下記コマンドを実行しコンテナを起動

# 環境構築コマンド(docker-compose up -d)
$ make up

④ 下記コマンドを実行しコンテナに入る

# 環境構築コマンド(docker-compose exec python3 bash)
$ make exec

⑤ 下記コマンドを実行しpython実行

# 環境構築コマンド(python3 main.py)
$ make gtfs

コマンド一覧

# ビルド
$ make build
# コンテナ起動
$ make up
# コンテナ内でコマンド実行
$ make exec
# GTFS-RTのファイル実行
$ make gtfs

参考資料

gtfs-toei-bus's People

Contributors

dero1to avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.