Running without GUI
stevenbaert opened this issue · 1 comments
stevenbaert commented
Hi,
Love your project. Would like to run it without interface, just Python based to better understand and maybe build extra features upon it. Can you advise howto do this?
Thanks,
S
finaldie commented
hi @stevenbaert
Thanks for loving the project. If I understand correctly, you want to kick off the functionality without airflow, which would bypass the airflow Web UI.
If so, suggest calling the entry methods like calling them from airflow DAG, For example, if we want to kick off the news pulling
feature:
- Make sure the dependencies are installed
- The most essential steps from DAG are t2 - t4 https://github.com/finaldie/auto-news/blob/main/dags/news_pulling.py#L54-L79
- Copy/paste them to a terminal and modify the parameters accordingly
- Observe the output and modify the logic starting from those entry files:
af_xxx.py
Hope above helps, and let me know if anything not clear.