mirror of https://github.com/snachodog/mybuddy.git
Consolidate Render.com config
This commit is contained in:
parent
f3d762ca63
commit
1913e4bb32
|
@ -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
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue