From 1913e4bb322981c1d784c4ab21cc0cdd00db2a8a Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Thu, 2 Jun 2022 12:06:45 -0700 Subject: [PATCH] Consolidate Render.com config --- .render.com/build.sh | 9 --------- render.yaml | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 .render.com/build.sh diff --git a/.render.com/build.sh b/.render.com/build.sh deleted file mode 100644 index e923727c..00000000 --- a/.render.com/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -set -o errexit - -python -m pip install --upgrade pip -pip install -r requirements.txt - -python manage.py migrate -python manage.py createcachetable -python manage.py reset --no-input diff --git a/render.yaml b/render.yaml index e3b79f30..cc32bded 100644 --- a/render.yaml +++ b/render.yaml @@ -7,8 +7,8 @@ services: name: babybuddy plan: free env: python - buildCommand: "./.render.com/build.sh" - startCommand: "gunicorn babybuddy.wsgi:application" + buildCommand: "python -m pip install --upgrade pip && pip install -r requirements.txt" + startCommand: "bash Procfile.sh" envVars: - key: DATABASE_URL fromDatabase: