mirror of https://github.com/snachodog/mybuddy.git
Add build script
This commit is contained in:
parent
369c4d9bc6
commit
42be1e7072
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
python -m pip install --upgrade pipenv wheel
|
||||||
|
pipenv install
|
||||||
|
|
||||||
|
python manage.py migrate
|
|
@ -7,6 +7,7 @@ services:
|
||||||
- type: web
|
- type: web
|
||||||
name: babybuddy
|
name: babybuddy
|
||||||
env: python
|
env: python
|
||||||
|
buildCommand: "./.render.com/build.sh"
|
||||||
startCommand: "gunicorn babybuddy.wsgi:application"
|
startCommand: "gunicorn babybuddy.wsgi:application"
|
||||||
envVars:
|
envVars:
|
||||||
- key: DJANGO_SETTINGS_MODULE
|
- key: DJANGO_SETTINGS_MODULE
|
||||||
|
|
Loading…
Reference in New Issue