Skip to content

Instantly share code, notes, and snippets.

@inmarelibero
Created March 4, 2015 15:02
Show Gist options
  • Save inmarelibero/1ff39a4c2202f24dee7a to your computer and use it in GitHub Desktop.
Save inmarelibero/1ff39a4c2202f24dee7a to your computer and use it in GitHub Desktop.
container_commands:
# 001:
# command: "rm -rf vendor/"
200-copy-apache-config:
command: "cp .ebextensions/httpd/symfony.conf /etc/httpd/conf.d/"
301-run-composer:
command: "/usr/bin/composer.phar update --lock"
ignoreErrors: true # se lo tolgo dà errore
400-link-parameters:
command: "rm app/config/parameters.yml"
ignoreErrors: true
401-link-parameters:
command: "ln -s /var/www/shared/app/config/parameters.yml app/config/parameters.yml"
401-install-vendors:
command: "ln -s /var/www/shared/vendor/ vendor"
500-cache:
command: "php app/console cache:clear --env=prod"
ignoreErrors: true
700-databse:
command: "php app/console doctrine:schema:update --force"
@davidstanley01
Copy link

are the 40* commands specific to symfony?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment