Skip to content

datarevenue-berlin/tac-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task as Containers example project

Details

Please read the detailed article at Data Revenue's Blog.

How to run

  • Clone the repo and cd into its root.
  • Install requirements and the project itself.
  • Export your AWS credentials into AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
  • Export name of your S3 bucket name into S3_BUCKET env variable.
  • Spin up a Minikube cluster.
  • Build a docker image inside Minikube VM:
eval $(minikube docker-env)
docker build -t tac-example:v1 . --build-arg AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID --build-arg AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY --build-arg S3_BUCKET=$S3_BUCKET
  • Run the pipeline:
luigi --module tac.task MakePredictions --date 2018-01-01

About

Example project using Tasks as Containers architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages