From 065d90cea7e452580cb9594c2f220bc1d1ca6ec6 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Mon, 18 Apr 2022 23:52:32 +0200 Subject: [PATCH 01/18] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index cfedb48..97b39c4 100644 --- a/README.md +++ b/README.md @@ -110,3 +110,11 @@ heroku logs --tail -a YOUR_APP_NAME - It might be you! Feel free to contribute. [11]: https://hvitis.com + + +#### Troubleshooting + +Running into pg_config executable not found on a fresh server? Check if you ran +``` +sudo apt install libpq-dev +``` From 36ce61b1911e26e18804b9416446e3ee4d011baf Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:06:20 +0200 Subject: [PATCH 02/18] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 97b39c4..179d426 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,10 @@ heroku logs --tail -a YOUR_APP_NAME #### Troubleshooting +Setup on Hetzner Cloud. Simple Install: + + + Running into pg_config executable not found on a fresh server? Check if you ran ``` sudo apt install libpq-dev From 79e9d569a1a44a301b966f1738d86862488d5029 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:08:48 +0200 Subject: [PATCH 03/18] Update requirements.txt --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 72d2274..bb709d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,3 +18,5 @@ sorl-thumbnail==12.6.3 sqlparse==0.3.0 urllib3==1.25.8 whitenoise==4.1.3 +sorl-thumbnail==12.8.0 +djangorestframework==3.13.1 From c3246b6d80526b96b51251df4d249b1116276a02 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:10:36 +0200 Subject: [PATCH 04/18] Update requirements.txt --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bb709d0..b836478 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,6 @@ python-dateutil==2.8.1 pytz==2019.2 s3transfer==0.2.1 six==1.14.0 -sorl-thumbnail==12.6.3 sqlparse==0.3.0 urllib3==1.25.8 whitenoise==4.1.3 From b94092c31b3db9c94fdbfe3e3071e62f8318d823 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:12:35 +0200 Subject: [PATCH 05/18] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 179d426..c77e809 100644 --- a/README.md +++ b/README.md @@ -121,4 +121,5 @@ Setup on Hetzner Cloud. Simple Install: Running into pg_config executable not found on a fresh server? Check if you ran ``` sudo apt install libpq-dev +python3 -m pip install --upgrade Pillow ``` From c885d9b44ad5606ab3cb3d1555c90019a76af245 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:33:47 +0200 Subject: [PATCH 06/18] Update app.json --- app.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.json b/app.json index 31e5518..d130048 100644 --- a/app.json +++ b/app.json @@ -1,12 +1,12 @@ { "name": "Podcaster", "description": "Set-up FREE Django Podcasts & Blog page in seconds.", - "website": "http://hvitis.com", - "success_url": "https://hvitis.com/free-podcasts-blog-template-based-on-django", + "website": "http://pascalfend.de", + "success_url": "https://pascalfend.de/free-podcasts-blog-template-based-on-django", "addons": ["heroku-postgresql:hobby-dev", "bucketeer:hobbyist" ], - "repository": "https://github.com/hvitis/podcaster", + "repository": "https://github.com/pafend/podcaster", "logo": "https://i.ibb.co/QQNtj9j/Podcaster-Logo-Medium.png", "buildpacks": [{ "url": "heroku/python" @@ -31,4 +31,4 @@ "scripts": { "postdeploy": "chmod +x postdeploy-django.sh && ./postdeploy-django.sh" } -} \ No newline at end of file +} From 4a9b74974ab2fd924604cbf39264e21d72da3f4d Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Fri, 22 Apr 2022 22:15:58 +0200 Subject: [PATCH 07/18] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c77e809..dc5dde0 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ Setup on Hetzner Cloud. Simple Install: Running into pg_config executable not found on a fresh server? Check if you ran ``` -sudo apt install libpq-dev +sudo apt install libpq-dev python3-setuptools python3.10 git +python3 -m pip install django==4.0.4 python3 -m pip install --upgrade Pillow ``` From 870a44e5988452234a10a6bdb5420f39390e27c7 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Sun, 24 Apr 2022 01:30:39 +0200 Subject: [PATCH 08/18] Update README.md --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc5dde0..56504db 100644 --- a/README.md +++ b/README.md @@ -118,9 +118,15 @@ Setup on Hetzner Cloud. Simple Install: -Running into pg_config executable not found on a fresh server? Check if you ran +Fresh server? Just run it. ``` -sudo apt install libpq-dev python3-setuptools python3.10 git -python3 -m pip install django==4.0.4 +sudo apt install libpq-dev python3-setuptools python3 git python3-dev python3-venv +git clone https://github.com/pafend/Podcaster.git +cd Podcaster +python3 -m venv Podcaster +source Podcaster/bin/activate +pip install -r requirements.txt python3 -m pip install --upgrade Pillow +python3 -m pip install --upgrade Django +pip3 install djangorestframework ``` From 1fa9f6b99c3e731a22ab2b2e591830c49432e8a5 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Sun, 24 Apr 2022 01:36:07 +0200 Subject: [PATCH 09/18] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 56504db..d08405a 100644 --- a/README.md +++ b/README.md @@ -128,5 +128,6 @@ source Podcaster/bin/activate pip install -r requirements.txt python3 -m pip install --upgrade Pillow python3 -m pip install --upgrade Django +python3 -m pip install --upgrade django-summernote pip3 install djangorestframework ``` From b96324bcb70d526e1ed0e5b9edbd12a80c9538c8 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Sun, 24 Apr 2022 01:55:22 +0200 Subject: [PATCH 10/18] Update internationalization.py Change to german --- podcasts/sub_settings/internationalization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podcasts/sub_settings/internationalization.py b/podcasts/sub_settings/internationalization.py index 82415f8..ed7deac 100644 --- a/podcasts/sub_settings/internationalization.py +++ b/podcasts/sub_settings/internationalization.py @@ -5,11 +5,11 @@ # Internationalization # https://docs.djangoproject.com/en/3.0/topics/i18n/ -LANGUAGE_CODE = 'es-ES' +LANGUAGE_CODE = 'de-DE' # List of activated DEFAULT_LANGUAGE = 1 # the first one in the list LANGUAGES = ( - ('es-ES', _('Spanish')), + ('de-DE', _('German')), ('en-US', _('English')), ) From 84c272c580e8fe24a819a8b61cef1548f218da90 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Sun, 24 Apr 2022 02:01:50 +0200 Subject: [PATCH 11/18] Update text_editor.py --- podcasts/sub_settings/text_editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podcasts/sub_settings/text_editor.py b/podcasts/sub_settings/text_editor.py index 65e7dd6..9b12bcf 100644 --- a/podcasts/sub_settings/text_editor.py +++ b/podcasts/sub_settings/text_editor.py @@ -17,7 +17,7 @@ 'height': '820', # Use proper language setting automatically (default) - 'lang': "es-ES", + 'lang': "de-DE", # Or, set editor language/locale forcely # 'lang': 'ko-KR', @@ -94,4 +94,4 @@ # }, } # Django summernote default theme for text editor -SUMMERNOTE_THEME = 'bs4' \ No newline at end of file +SUMMERNOTE_THEME = 'bs4' From 5175979fbee6557325408dea5eb10dd58910ef88 Mon Sep 17 00:00:00 2001 From: pafend <103966297+pafend@users.noreply.github.com> Date: Sun, 24 Apr 2022 02:02:40 +0200 Subject: [PATCH 12/18] Update header.html --- templates/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/header.html b/templates/header.html index ed74b51..aa7e49d 100644 --- a/templates/header.html +++ b/templates/header.html @@ -40,7 +40,7 @@ @@ -64,4 +64,4 @@