Skip to content

ashishpatel16/CacheBack

Repository files navigation

CacheBack

Setting up the environment and running docker containers

  1. Download reference dataset (books_data.csv) : Here
  2. Extract and unzip at ingestion-docker/data/ directory.
  3. Build and run containers
docker compose up
  • To stop containers
docker compose down
  • To rebuild containers from source
docker compose up -d --no-deps --build

Using cli.py to push notebook.ipynb to postgres server

  • Build a container as defined by dockerfile in the base directory. Make sure you run the container inside the same network as postgres database.
docker build -t image:tag .
docker run -it --network=network image:tag
  • Using cli.py
python3 cli.py --user admin --password root --db reviews --port 5432 --host postgres-database

About

Awesome caching for Data Scientists 😎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published