Browse Source

Test of post install script

tags/v1.9.0
Simon Vieille 1 year ago
parent
commit
2584014d78
No known key found for this signature in database
2 changed files with 14 additions and 3 deletions
  1. +11
    -0
      composer.json
  2. +3
    -3
      propel-dist.yaml

+ 11
- 0
composer.json 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/"

+ 3
- 3
propel-dist.yaml 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:

Loading…
Cancel
Save