Skip to content

Commit

Permalink
2 new feeeders
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V committed Aug 5, 2024
1 parent 820b9c6 commit 84e4512
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .flaskenv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FLASK_APP=main.py
FLASK_ENV=development
TEMPLATES_AUTO_RELOAD = True
TEMPLATES_AUTO_RELOAD=True
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ COPY . ./

EXPOSE 8080

CMD ["flask", "run", "--port=8080"]
CMD ["flask", "run", "--host=0.0.0.0", "--port=8080"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ TEMPLATES_AUTO_RELOAD=True
build-docker:
docker build -t defe .
docker:
docker run -p 5000:5000 --name defe defe
docker run -p 8080:8080 defe
17 changes: 11 additions & 6 deletions core/feeders/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,20 @@
"link": "https://www.gigabitmagazine.com/rss.xml",
"web": "https://www.gigabitmagazine.com"
},
{
"name": "Technology Intelligence",
"link": "https://www.telegraph.co.uk/technology/rss.xml",
"web": "https://www.telegraph.co.uk/technology"
},
{
"name": "PCWorld News",
"link": "https://www.pcworld.com/news.rss",
"web": "https://www.pcworld.com"
}
},
{
"name": "TechRadar",
"link": "https://www.techradar.com/feeds/articletype/news",
"web": "https://www.techradar.com/news"
},
{
"name": "Ars Technica News",
"link": "https://arstechnica.com/rss.xml",
"web": "https://arstechnica.com"
}
]
}
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ def feedback():


if __name__ == "__main__":
app.run()
app.run(port=8001)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ diskcache
python-dotenv
tqdm
python-vlc
Werkzeug==2.2.2

0 comments on commit 84e4512

Please sign in to comment.