habitica-self-host/.ebextensions/deploy.config

27 lines
834 B
Text
Raw Normal View History

option_settings:
- namespace: aws:elasticbeanstalk:command
option_name: Timeout
value: 1800
- namespace: aws:elb:policies
option_name: ConnectionSettingIdleTimeout
value: 900
commands:
2016-06-24 08:31:19 +00:00
01_sym_node:
command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node"
2016-06-24 08:31:19 +00:00
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/41update_npm.sh" :
mode: "000775"
owner: root
group: users
content: |
$(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/npm install -g npm@5
container_commands:
01_makeBabel:
command: "touch /tmp/.babel.json"
02_ownBabel:
command: "chmod a+rw /tmp/.babel.json"
03_installGulp:
2016-06-29 20:17:54 +00:00
command: "$NODE_HOME/bin/npm install -g gulp"
04_runGulp:
2016-06-29 20:15:01 +00:00
command: "$NODE_HOME/lib/node_modules/gulp/bin/gulp.js build"