From a94727df82187e4e4d1cc8797818e77554535c40 Mon Sep 17 00:00:00 2001 From: Kraust Date: Mon, 19 Feb 2024 22:00:09 -0500 Subject: [PATCH] I'm going to make this work vercel. --- OSCR_django/deploy.sh | 9 +++++++++ requirements.txt => OSCR_django/requirements.txt | 0 deploy.sh | 9 --------- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 OSCR_django/deploy.sh rename requirements.txt => OSCR_django/requirements.txt (100%) delete mode 100644 deploy.sh diff --git a/OSCR_django/deploy.sh b/OSCR_django/deploy.sh new file mode 100644 index 0000000..7835bf1 --- /dev/null +++ b/OSCR_django/deploy.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +python3 -m pip install -r requirements.txt + +python3 manage.py migrate --noinput +python3 manage.py collectstatic --clear --noinput + +# Load the ladder information. +python3 manage.py loaddata ladder/fixtures/ladders.json diff --git a/requirements.txt b/OSCR_django/requirements.txt similarity index 100% rename from requirements.txt rename to OSCR_django/requirements.txt diff --git a/deploy.sh b/deploy.sh deleted file mode 100644 index 79aa5d9..0000000 --- a/deploy.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -python3 -m pip install -r requirements.txt - -python3 OSCR_django/manage.py migrate --noinput -python3 OSCR_django/manage.py collectstatic --clear --noinput - -# Load the ladder information. -python3 OSCR_django/manage.py loaddata OSCR_django/ladder/fixtures/ladders.json