项目作者: givewgun

项目描述 :
Traffic dashboard of Rama IV road in Bangkok, Thailand
高级语言: Python
项目地址: git://github.com/givewgun/RamaIV-Dashboard.git
创建时间: 2020-04-06T07:23:29Z
项目社区:https://github.com/givewgun/RamaIV-Dashboard

开源协议:

下载


RamaIV-Dashboard

Traffic dashboard of Rama IV road in Bangkok, Thailand

Require

  1. Python 3
  2. Google cloud project

Setup

  1. Create google cloud service account in api&credentials menu. Choose role that can query and access BigQuery and download the .json credentials
  2. rename the credentials to gcloud_credential.json and move into /tabs/config
  3. Install virtualenv (optional)
  4. Install necessary requirements from requirements.txt

Command

To install virtualenv

  1. pip install virtualenv

Then, you have to run the following to make and activate the venv

  1. virtualenv venv
  2. venv\Scripts\activate.bat
  3. pip install -r requirements.txt (or use only this line if don't want to create virtualenv)

RUN

  1. python index.py