Consolidate Render.com config

This commit is contained in:
Christopher C. Wells 2022-06-02 12:06:45 -07:00
parent f3d762ca63
commit 1913e4bb32
2 changed files with 2 additions and 11 deletions

View File

@ -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

View File

@ -7,8 +7,8 @@ services:
name: babybuddy name: babybuddy
plan: free plan: free
env: python env: python
buildCommand: "./.render.com/build.sh" buildCommand: "python -m pip install --upgrade pip && pip install -r requirements.txt"
startCommand: "gunicorn babybuddy.wsgi:application" startCommand: "bash Procfile.sh"
envVars: envVars:
- key: DATABASE_URL - key: DATABASE_URL
fromDatabase: fromDatabase: