Merge pull request #423 from PheRum/feature/pherum

New environment variables and composer post-install
This commit is contained in:
Yuriy Pikhtarev 2017-06-28 12:53:12 +03:00 committed by GitHub
commit 8579ca4b8c
3 changed files with 17 additions and 3 deletions

View file

@ -10,4 +10,12 @@ DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=torrentpier
DB_USERNAME=root
DB_PASSWORD=secret
DB_PASSWORD=root
# Mail credentials
MAIL_DRIVER=smtp
MAIL_HOST=smtp.yandex.ru
MAIL_PORT=465
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=ssl

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
### TorrentPier ###
.env
.idea
.php_cs.cache
bower_components

View file

@ -36,11 +36,11 @@
},
"require": {
"php": "^7.0",
"bugsnag/bugsnag": "^3.5",
"laravel/framework": "^5.4",
"bugsnag/bugsnag-laravel": "^2.5",
"filp/whoops": "^2.1",
"gigablah/sphinxphp": "^2.0",
"google/recaptcha": "^1.1",
"laravel/framework": "^5.4",
"longman/ip-tools": "^1.2",
"roave/security-advisories": "dev-master",
"rych/bencode": "^1.0",
@ -58,6 +58,11 @@
"Tests\\": "tests/"
}
},
"scripts": {
"post-install-cmd": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
},
"minimum-stability": "stable",
"prefer-stable": true
}