You need to have installed docker and docker compose in your machine.
This project requires Python 3.11
source .venv/Scripts/activate
./.venv/Scripts/Activate.ps1
pip install -r requirements.txt
To start the application you need to run python.py to setup de environment.
python3 run.py
This will start airflow and minio. The script will prompt you to update varibles.json with the minio_api_access_key and minio_api_access_secret_key that you should create accessing minio console. When you finish it, press enter to continue the script.
After the script end, you should access airflow, go to admin > variables and import varibles.json.
cd src && \
python3 setup.py clean --all && \
python3 setup.py bdist_wheel && \
pip install --upgrade --force-reinstall --no-cache-dir dist/stock_portfolio_data-0.0.0-py3-none-any.whl
docker exec -it stock-portfolio-data-airflow-scheduler-1 bash
airflow dags reserialize
airflow variables export my_variables.json