From 718372d0e9a4073f4ee154eba7d51e0bbca5cd4f Mon Sep 17 00:00:00 2001 From: Pooya Fekri Date: Mon, 23 Oct 2023 14:18:58 +0330 Subject: [PATCH] remove base.txt and add requirements.txt because of Heroku --- .github/workflows/django.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- requirements/base.txt => requirements.txt | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename requirements/base.txt => requirements.txt (100%) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index a7e9f081..36684efb 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -25,7 +25,7 @@ jobs: - name: Install requests run: pip install requests - name: Install Dependencies - run: pip install -r requirements/base.txt + run: pip install -r requirements.txt - name: Run Tests run: python manage.py test env: diff --git a/Dockerfile b/Dockerfile index 707bb3e9..b7f28a34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY ./requirements/ /code/requirements/ RUN pip install pip --upgrade #installing requests befor the rest for lnpay compatibility RUN pip install requests -RUN pip install -r requirements/base.txt +RUN pip install -r requirements.txt COPY . . RUN mkdir db RUN mkdir -p static diff --git a/README.md b/README.md index affc75cd..d54f08c7 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ source .venv/bin/activate install requirements: ```shell -pip install -r requirements/base.txt +pip install -r requirements.txt ``` run migrations: diff --git a/requirements/base.txt b/requirements.txt similarity index 100% rename from requirements/base.txt rename to requirements.txt