mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Merge pull request #423 from PheRum/feature/pherum
New environment variables and composer post-install
This commit is contained in:
commit
8579ca4b8c
3 changed files with 17 additions and 3 deletions
10
.env.example
10
.env.example
|
@ -10,4 +10,12 @@ DB_HOST=localhost
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=torrentpier
|
DB_DATABASE=torrentpier
|
||||||
DB_USERNAME=root
|
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
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
### TorrentPier ###
|
### TorrentPier ###
|
||||||
|
.env
|
||||||
.idea
|
.idea
|
||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
bower_components
|
bower_components
|
||||||
|
|
|
@ -36,11 +36,11 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.0",
|
"php": "^7.0",
|
||||||
"bugsnag/bugsnag": "^3.5",
|
"laravel/framework": "^5.4",
|
||||||
|
"bugsnag/bugsnag-laravel": "^2.5",
|
||||||
"filp/whoops": "^2.1",
|
"filp/whoops": "^2.1",
|
||||||
"gigablah/sphinxphp": "^2.0",
|
"gigablah/sphinxphp": "^2.0",
|
||||||
"google/recaptcha": "^1.1",
|
"google/recaptcha": "^1.1",
|
||||||
"laravel/framework": "^5.4",
|
|
||||||
"longman/ip-tools": "^1.2",
|
"longman/ip-tools": "^1.2",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"rych/bencode": "^1.0",
|
"rych/bencode": "^1.0",
|
||||||
|
@ -58,6 +58,11 @@
|
||||||
"Tests\\": "tests/"
|
"Tests\\": "tests/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"post-install-cmd": [
|
||||||
|
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
]
|
||||||
|
},
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"prefer-stable": true
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue