diff --git a/.flaskenv b/.flaskenv index 30ef21d..a414769 100644 --- a/.flaskenv +++ b/.flaskenv @@ -1,3 +1,3 @@ FLASK_APP=main.py FLASK_ENV=development -TEMPLATES_AUTO_RELOAD = True \ No newline at end of file +TEMPLATES_AUTO_RELOAD=True \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index e8c284b..0e9513c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ COPY . ./ EXPOSE 8080 -CMD ["flask", "run", "--port=8080"] +CMD ["flask", "run", "--host=0.0.0.0", "--port=8080"] diff --git a/Makefile b/Makefile index e48a2b5..0810c14 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,4 @@ TEMPLATES_AUTO_RELOAD=True build-docker: docker build -t defe . docker: - docker run -p 5000:5000 --name defe defe \ No newline at end of file + docker run -p 8080:8080 defe \ No newline at end of file diff --git a/core/feeders/news.json b/core/feeders/news.json index b4f18e2..4ededfe 100644 --- a/core/feeders/news.json +++ b/core/feeders/news.json @@ -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" + } ] } \ No newline at end of file diff --git a/main.py b/main.py index 21a74b4..1f6c698 100644 --- a/main.py +++ b/main.py @@ -155,4 +155,4 @@ def feedback(): if __name__ == "__main__": - app.run() + app.run(port=8001) diff --git a/requirements.txt b/requirements.txt index 63ef661..5b3704c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,4 @@ diskcache python-dotenv tqdm python-vlc +Werkzeug==2.2.2 \ No newline at end of file