Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Repository containing source of HXS dashboard

License

Notifications You must be signed in to change notification settings

vwt-digital-solutions/hxs-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

HXS Dashboard

This repository contains the dashboard for Hybrid Access project related data, build with Dash.

Running the application locally

  1. Python environment setup
export VENV=~/env
python3 -m venv $VENV
source $VENV/bin/activate
pip install -r requirements.txt
  1. Setting google application credentials

Download the required service account key from the google cloud console. This key is needed to access resources on the Google Cloud Platform. More info about authentication with a keyfile can be found here. Use the following command to set the application credentials locally.

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/keyfile.json
  1. Disable https for oauth2

Since we are running on localhost and use oauth2, you will have to disable https enforcement.

export OAUTHLIB_INSECURE_TRANSPORT=1
  1. Running the application
python3 index.py

About

Repository containing source of HXS dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published