mirror of https://github.com/snachodog/mybuddy.git
24 lines
685 B
Plaintext
24 lines
685 B
Plaintext
option_settings:
|
|
aws:elasticbeanstalk:application:environment:
|
|
DJANGO_SETTINGS_MODULE: babybuddy.settings.eb
|
|
SECRET_KEY: CHANGETOSOMETHINGRANDOM
|
|
aws:elasticbeanstalk:container:python:staticfiles:
|
|
'/static/': 'static/'
|
|
aws:elasticbeanstalk:container:python:
|
|
WSGIPath: babybuddy/wsgi.py
|
|
|
|
container_commands:
|
|
01_pipenv_install:
|
|
command: 'pip install pipenv'
|
|
02_requirements_install:
|
|
env:
|
|
LC_ALL: en_US.utf8
|
|
LANG: en_US.utf8
|
|
command: 'pipenv install --system --deploy'
|
|
03_migrate:
|
|
command: "python manage.py migrate"
|
|
leader_only: true
|
|
04_createcachetable:
|
|
command: "python manage.py createcachetable"
|
|
leader_only: true
|