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

This repository holds a legacy script that ingests usage metrics of JPO data assets on data.transportation.gov(DTG) and writes them to our metrics postgres database. This is no longer in use as DTG has deprecated their old Analytics API and we are no longer using postgres. Please find our new metrics ingestion code at the following repositories:…

Notifications You must be signed in to change notification settings

usdot-its-jpo-data-portal/metrics_dtg_lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Setup Instructions

Prerequisites:

  • CD to root of repo
  • Python 3.6

Deployment:

  • Create a virtualenv at the root of the repo with this command: virtualenv -p python3 ./.venv_metrics_dtg_lambda

  • Activate that venv with this command: source ./.venv_metrics_dtg_lambda/bin/activate

  • Install all pip dependencies to the package folder with this command: pip install -r package/requirements.txt -t ./package

  • CD into package folder: cd package

  • Zip package folder using this command: zip -r ../lambdapackage.zip ./*

  • Upload package to lambda using AWS CLI or web console

About

This repository holds a legacy script that ingests usage metrics of JPO data assets on data.transportation.gov(DTG) and writes them to our metrics postgres database. This is no longer in use as DTG has deprecated their old Analytics API and we are no longer using postgres. Please find our new metrics ingestion code at the following repositories:…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages