From b228aa3f898e2e6eb466fb604edca68b3f11729a Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 27 Jan 2016 16:59:35 -0500 Subject: [PATCH] feat(elastic-beanstalk): deploy extensions --- .ebextensions/deploy.config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .ebextensions/deploy.config diff --git a/.ebextensions/deploy.config b/.ebextensions/deploy.config new file mode 100644 index 0000000000..b53a92dacb --- /dev/null +++ b/.ebextensions/deploy.config @@ -0,0 +1,16 @@ +commands: + 01_sym: + command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node" +container_commands: + 01_makeBabel: + command: "touch /tmp/.babel.json" + 02_ownBabel: + command: "chmod a+rw /tmp/.babel.json" + 03_installBower: + command: "$NODE_HOME/bin/npm install -g bower" + 04_installGulp: + command: "$NODE_HOME/bin/npm install -g gulp" + 05_runBower: + command: "$NODE_HOME/lib/node_modules/bower/bin/bower --config.interactive=false --allow-root install -f" + 06_runGulp: + command: "$NODE_HOME/lib/node_modules/gulp/bin/gulp.js build"