Test of post install script

This commit is contained in:
Simon Vieille 2018-06-25 16:24:23 +02:00
parent e74a87a131
commit 2584014d78
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
2 changed files with 14 additions and 3 deletions

View File

@ -15,6 +15,17 @@
"guzzlehttp/guzzle": "~6.0",
"symfony/security": "^2.7"
},
"scripts": {
"gist-scripts": [
"Gist\\Composer\\PostInstallHandler::execute"
],
"post-install-cmd": [
"@gist-scripts"
],
"post-update-cmd": [
"@gist-scripts"
]
},
"autoload": {
"psr-0": {
"": "src/"

View File

@ -4,9 +4,9 @@ propel:
default:
adapter: mysql
classname: Propel\Runtime\Connection\ConnectionWrapper
dsn: "mysql:host=localhost;dbname=gist"
user: root
password: root
dsn: "mysql:host=DATABASE_HOST;dbname=DATABASE_NAME"
user: "DATABASE_USER"
password: "DATABASE_PASSWORD"
settings:
charset: utf8
queries: