From 5e728767cfa4806367fcf9824edf3ccc4b74e6ad Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Sun, 4 Nov 2018 08:20:05 -0800 Subject: [PATCH] Update Amazon EB deployment config. --- .ebextensions/babybuddy.config | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/.ebextensions/babybuddy.config b/.ebextensions/babybuddy.config index 54e04982..2c27794c 100644 --- a/.ebextensions/babybuddy.config +++ b/.ebextensions/babybuddy.config @@ -7,20 +7,6 @@ option_settings: aws:elasticbeanstalk:container:python: WSGIPath: babybuddy/wsgi.py -commands: - 01_remove_outdated_nodejs: - cwd: /tmp - command: 'yum remove -y nodejs npm' - 02_node_source_add: - cwd: /tmp - command: 'curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -' - 03_npm_install: - cwd: /tmp - command: 'yum -y install nodejs git gcc-c++ make' - 04_gulp_install: - cwd: /tmp - command: 'npm install -g gulp-cli' - container_commands: 01_pipenv_install: command: 'pip install pipenv' @@ -29,15 +15,8 @@ container_commands: LC_ALL: en_US.utf8 LANG: en_US.utf8 command: 'pipenv install --system --deploy' - 03_npm_install: - command: 'npm install' - 04_gulp_build: - env: - LC_ALL: en_US.utf8 - LANG: en_US.utf8 - command: 'gulp build' - 05_collectstatic: + 03_collectstatic: command: 'python manage.py collectstatic --no-input' - 06_migrate: + 04_migrate: command: "python manage.py migrate" leader_only: true