habitica-self-host/.ebextensions/deploy.config
2016-05-27 17:01:25 +02:00

20 lines
847 B
Text

sources:
/tmp: https://s3.amazonaws.com/habitica-assets/scripts/loggly-setup-script-2016-05-27.zip
commands:
01_sym:
command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node"
02_loggly_config:
command: "su --session-command="python /tmp/configure-syslog.py setup --auth $LOGGLY_TOKEN --account $LOGGLY_ACCOUNT --yes"
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"