mirror of https://github.com/snachodog/mybuddy.git
Specify Python version in render config
This commit is contained in:
parent
1968bec727
commit
3d0b459849
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
|
||||
python3 -m pip install --upgrade pip
|
||||
pip3 install -r requirements.txt
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
python3 manage.py migrate
|
||||
python manage.py migrate
|
||||
|
|
|
@ -10,12 +10,14 @@ services:
|
|||
buildCommand: "./.render.com/build.sh"
|
||||
startCommand: "gunicorn babybuddy.wsgi:application"
|
||||
envVars:
|
||||
- key: DJANGO_SETTINGS_MODULE
|
||||
value: babybuddy.settings.render
|
||||
- key: DATABASE_URL
|
||||
fromDatabase:
|
||||
name: babybuddy
|
||||
property: connectionString
|
||||
- key: DJANGO_SETTINGS_MODULE
|
||||
value: babybuddy.settings.render
|
||||
- key: PYTHON_VERSION
|
||||
value: 3.10.4
|
||||
- key: SECRET_KEY
|
||||
generateValue: true
|
||||
- key: WEB_CONCURRENCY
|
||||
|
|
Loading…
Reference in New Issue