Agile_Data_Code_2

(β˜… 460)

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition

  • .bashrc
  • .dockerignore
  • .gitignore
  • airflow.env
  • docker-compose.yml
  • Dockerfile
  • download.sh
  • download_weather.sh
  • intro_download.sh
  • jupyter_notebook_config.py
  • LICENSE
  • old.Dockerfile
  • Part_II_-_Climbing_the_Pyramid.ipynb
  • poetry.lock
  • pyproject.toml
  • README.md
  • requirements.txt
  • Welcome.ipynb

# Installation Guide

1. Get the code
git clone https://github.com/rjurney/Agile_Data_Code_2

Downloads the entire project code from GitHub to your computer.

cd Agile_Data_Code_2

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker-compose build agile

Runs the command against the services defined in the compose file.

docker-compose up -d

Runs the command against the services defined in the compose file.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

jupyter notebook

Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.

βœ… If it runs without errors and prints output in the terminal, it worked.
// repository documentation