-
-
Save byrmylmz/76b2c7852fedc008aba7a7a209393a11 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