mirror of https://github.com/snachodog/mybuddy.git
Lock requirements before deploy (AWS EB)
This commit is contained in:
parent
389211de22
commit
344bb0f6d4
|
@ -11,14 +11,19 @@ option_settings:
|
||||||
container_commands:
|
container_commands:
|
||||||
01_pipenv_install:
|
01_pipenv_install:
|
||||||
command: 'pip install pipenv'
|
command: 'pip install pipenv'
|
||||||
02_requirements_install:
|
03_requirements_lock:
|
||||||
|
env:
|
||||||
|
LC_ALL: en_US.utf8
|
||||||
|
LANG: en_US.utf8
|
||||||
|
command: 'pipenv lock'
|
||||||
|
03_requirements_install:
|
||||||
env:
|
env:
|
||||||
LC_ALL: en_US.utf8
|
LC_ALL: en_US.utf8
|
||||||
LANG: en_US.utf8
|
LANG: en_US.utf8
|
||||||
command: 'pipenv install --system --deploy'
|
command: 'pipenv install --system --deploy'
|
||||||
03_migrate:
|
04_migrate:
|
||||||
command: "python manage.py migrate"
|
command: "python manage.py migrate"
|
||||||
leader_only: true
|
leader_only: true
|
||||||
04_createcachetable:
|
05_createcachetable:
|
||||||
command: "python manage.py createcachetable"
|
command: "python manage.py createcachetable"
|
||||||
leader_only: true
|
leader_only: true
|
||||||
|
|
Loading…
Reference in New Issue