2017-11-16 15:57:49 +00:00
|
|
|
option_settings:
|
|
|
|
aws:elasticbeanstalk:application:environment:
|
|
|
|
DJANGO_SETTINGS_MODULE: babybuddy.settings.eb
|
|
|
|
SECRET_KEY: CHANGETOSOMETHINGRANDOM
|
2021-05-05 12:58:32 +00:00
|
|
|
TIME_ZONE: UTC
|
2017-11-16 15:57:49 +00:00
|
|
|
aws:elasticbeanstalk:container:python:staticfiles:
|
|
|
|
'/static/': 'static/'
|
|
|
|
aws:elasticbeanstalk:container:python:
|
|
|
|
WSGIPath: babybuddy/wsgi.py
|
|
|
|
|
|
|
|
container_commands:
|
|
|
|
01_pipenv_install:
|
|
|
|
command: 'pip install pipenv'
|
2020-12-03 04:44:42 +00:00
|
|
|
03_requirements_lock:
|
|
|
|
env:
|
|
|
|
LC_ALL: en_US.utf8
|
|
|
|
LANG: en_US.utf8
|
|
|
|
command: 'pipenv lock'
|
|
|
|
03_requirements_install:
|
2017-11-16 15:57:49 +00:00
|
|
|
env:
|
|
|
|
LC_ALL: en_US.utf8
|
|
|
|
LANG: en_US.utf8
|
2017-11-29 19:28:10 +00:00
|
|
|
command: 'pipenv install --system --deploy'
|
2020-12-03 04:44:42 +00:00
|
|
|
04_migrate:
|
2017-11-16 15:57:49 +00:00
|
|
|
command: "python manage.py migrate"
|
|
|
|
leader_only: true
|
2020-12-03 04:44:42 +00:00
|
|
|
05_createcachetable:
|
2020-01-29 05:28:23 +00:00
|
|
|
command: "python manage.py createcachetable"
|
|
|
|
leader_only: true
|