Created
November 12, 2015 21:55
-
-
Save euharrison/f6ea7dd42f5e6954517c to your computer and use it in GitHub Desktop.
.ebextensions Laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
01-update-composer: | |
command: export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update | |
option_settings: | |
- namespace: aws:elasticbeanstalk:application:environment | |
option_name: COMPOSER_HOME | |
value: /root | |
container_commands: | |
01-optimize: | |
command: "/usr/bin/composer.phar dump-autoload --optimize" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container_commands: | |
01-migrate: | |
command: "php artisan migrate:refresh --force" | |
02-seed: | |
command: "php artisan db:seed --force" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
01-install-node: | |
command: "yum install nodejs npm --enablerepo=epel -y" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment