Project to demonstrate stuff a data engineer should know
./start.sh
Note: If you're using Mac, run ./start-mac.sh
instead.
Then we can go to the survey with the following links:
For Airflow UI, we go to:
./stop.sh
Note: If you're using Mac, run ./stop-mac.sh
instead.
airflow tasks test survey_data_processing transform_data_for_recommender 2021-04-04
In this talk, we'll set up 2 connections as follows:
It shows an answer count.
python3 -m http.server 8088
Then we go to http://localhost:8088/answer_count.html.
cd airflow/dags/notebooks
jupyter notebook --ip=0.0.0.0
Go to http://localhost:8888 if your Web browser is not automatically fired up.
Note that We'll need to set up an virtual environment first under the folder airflow/dags/notebooks
in case it hasn't been done.
python3 -m venv ENV
source ENV/bin/activate
pip install -r requirements.txt
To deactivate, run:
deactivate