Add build script

This commit is contained in:
Christopher C. Wells 2022-05-22 14:16:25 -07:00 committed by Christopher Charbonneau Wells
parent 369c4d9bc6
commit 42be1e7072
2 changed files with 8 additions and 0 deletions

7
.render.com/build.sh Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -o errexit
python -m pip install --upgrade pipenv wheel
pipenv install
python manage.py migrate

View File

@ -7,6 +7,7 @@ services:
- type: web
name: babybuddy
env: python
buildCommand: "./.render.com/build.sh"
startCommand: "gunicorn babybuddy.wsgi:application"
envVars:
- key: DJANGO_SETTINGS_MODULE