From 29f1aad4a3282a88359e37b92897bbc7c8228c12 Mon Sep 17 00:00:00 2001 From: Paul Schilling Date: Sun, 24 Mar 2024 15:38:40 +0100 Subject: [PATCH] Remove config + dependencies for heroku --- .gitattributes | 1 - docker-compose.yml => docker-compose.yaml | 0 heroku.yml | 19 ----------------- requirements/base.in | 1 - requirements/base.txt | 13 ------------ requirements/ci.txt | 26 ----------------------- requirements/dev.txt | 24 --------------------- 7 files changed, 84 deletions(-) rename docker-compose.yml => docker-compose.yaml (100%) delete mode 100644 heroku.yml diff --git a/.gitattributes b/.gitattributes index 28bf22c..73990cf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,2 @@ static/* linguist-vendored tests/* linguist-vendored -*.html linguist-detectable=false diff --git a/docker-compose.yml b/docker-compose.yaml similarity index 100% rename from docker-compose.yml rename to docker-compose.yaml diff --git a/heroku.yml b/heroku.yml deleted file mode 100644 index 56cca5b..0000000 --- a/heroku.yml +++ /dev/null @@ -1,19 +0,0 @@ -setup: - addons: - - plan: heroku-postgresql - -build: - docker: - web: Dockerfile - -release: - command: - - python manage.py migrate - image: web - -run: - web: gunicorn config.wsgi - worker: - command: - - python manage.py scrape - image: web diff --git a/requirements/base.in b/requirements/base.in index ce2bd3f..14de862 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -10,7 +10,6 @@ sentry-sdk # Django django -django-on-heroku # Other gunicorn diff --git a/requirements/base.txt b/requirements/base.txt index 4b3cf55..9e813b1 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -38,14 +38,7 @@ click-repl==0.3.0 # via celery cssselect==1.2.0 # via pyquery -dj-database-url==2.1.0 - # via django-on-heroku django==5.0.1 - # via - # -r requirements/base.in - # dj-database-url - # django-on-heroku -django-on-heroku==1.1.2 # via -r requirements/base.in frozenlist==1.4.1 # via @@ -73,8 +66,6 @@ prompt-toolkit==3.0.43 # via click-repl psycopg2==2.9.9 # via -r requirements/base.in -psycopg2-binary==2.9.7 - # via django-on-heroku pyee==8.2.2 # via pyppeteer pyppeteer==1.0.2 @@ -99,8 +90,6 @@ sqlparse==0.4.4 # via django tqdm==4.66.1 # via pyppeteer -typing-extensions==4.7.1 - # via dj-database-url tzdata==2023.4 # via celery urllib3==1.26.18 @@ -116,8 +105,6 @@ wcwidth==0.2.13 # via prompt-toolkit websockets==10.4 # via pyppeteer -whitenoise==6.5.0 - # via django-on-heroku yarl==1.9.4 # via aiohttp zipp==3.16.2 diff --git a/requirements/ci.txt b/requirements/ci.txt index dd55356..dd04ace 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -79,21 +79,10 @@ cssselect==1.2.0 # -c requirements/base.txt # -r requirements/base.txt # pyquery -dj-database-url==2.1.0 - # via - # -c requirements/base.txt - # -r requirements/base.txt - # django-on-heroku django==5.0.1 # via # -c requirements/base.txt # -r requirements/base.txt - # dj-database-url - # django-on-heroku -django-on-heroku==1.1.2 - # via - # -c requirements/base.txt - # -r requirements/base.txt frozenlist==1.4.1 # via # -c requirements/base.txt @@ -163,11 +152,6 @@ psycopg2==2.9.9 # via # -c requirements/base.txt # -r requirements/base.txt -psycopg2-binary==2.9.7 - # via - # -c requirements/base.txt - # -r requirements/base.txt - # django-on-heroku pyee==8.2.2 # via # -c requirements/base.txt @@ -242,11 +226,6 @@ tqdm==4.66.1 # -c requirements/base.txt # -r requirements/base.txt # pyppeteer -typing-extensions==4.7.1 - # via - # -c requirements/base.txt - # -r requirements/base.txt - # dj-database-url tzdata==2023.4 # via # -c requirements/base.txt @@ -275,11 +254,6 @@ websockets==10.4 # -c requirements/base.txt # -r requirements/base.txt # pyppeteer -whitenoise==6.5.0 - # via - # -c requirements/base.txt - # -r requirements/base.txt - # django-on-heroku yarl==1.9.4 # via # -c requirements/base.txt diff --git a/requirements/dev.txt b/requirements/dev.txt index 4391cc9..784a9f6 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -92,29 +92,18 @@ cssselect==1.2.0 # pyquery decorator==5.1.1 # via ipython -dj-database-url==2.1.0 - # via - # -c requirements/ci.txt - # -r requirements/ci.txt - # django-on-heroku django==5.0.1 # via # -c requirements/ci.txt # -r requirements/ci.txt - # dj-database-url # django-debug-toolbar # django-extensions - # django-on-heroku # django-stubs # django-stubs-ext django-debug-toolbar==4.2.0 # via -r requirements/dev.in django-extensions==3.2.3 # via -r requirements/dev.in -django-on-heroku==1.1.2 - # via - # -c requirements/ci.txt - # -r requirements/ci.txt django-stubs==4.2.4 # via -r requirements/dev.in django-stubs-ext==4.2.2 @@ -261,11 +250,6 @@ psycopg2==2.9.9 # via # -c requirements/ci.txt # -r requirements/ci.txt -psycopg2-binary==2.9.7 - # via - # -c requirements/ci.txt - # -r requirements/ci.txt - # django-on-heroku ptyprocess==0.7.0 # via pexpect pure-eval==0.2.2 @@ -411,9 +395,6 @@ types-urllib3==1.26.25.14 # via types-requests typing-extensions==4.7.1 # via - # -c requirements/ci.txt - # -r requirements/ci.txt - # dj-database-url # django-stubs # django-stubs-ext # libcst @@ -452,11 +433,6 @@ websockets==10.4 # pyppeteer wheel==0.42.0 # via pip-tools -whitenoise==6.5.0 - # via - # -c requirements/ci.txt - # -r requirements/ci.txt - # django-on-heroku yarl==1.9.4 # via # -c requirements/ci.txt