From 84cd9ba85066765360db01b6f392d2f15dbbc4ee Mon Sep 17 00:00:00 2001 From: PheRum Date: Wed, 28 Jun 2017 11:53:07 +0300 Subject: [PATCH 1/2] test --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 6b900d752..7efa6c29b 100644 --- a/.env.example +++ b/.env.example @@ -10,4 +10,4 @@ DB_HOST=localhost DB_PORT=3306 DB_DATABASE=torrentpier DB_USERNAME=root -DB_PASSWORD=secret +DB_PASSWORD=root From c89475e14f734e5416e70dfbf62d6ca704938794 Mon Sep 17 00:00:00 2001 From: PheRum Date: Wed, 28 Jun 2017 12:26:06 +0300 Subject: [PATCH 2/2] =?UTF-8?q?mail=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B9=D0=BA=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D0=BE=D0=BA=D1=80?= =?UTF-8?q?=D1=83=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 8 ++++++++ .gitignore | 1 + composer.json | 9 +++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 7efa6c29b..d1655616b 100644 --- a/.env.example +++ b/.env.example @@ -11,3 +11,11 @@ DB_PORT=3306 DB_DATABASE=torrentpier DB_USERNAME=root 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 diff --git a/.gitignore b/.gitignore index 916f97632..c7cdab175 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ ### TorrentPier ### +.env .idea .php_cs.cache bower_components diff --git a/composer.json b/composer.json index 5959e1cc7..e8108948c 100644 --- a/composer.json +++ b/composer.json @@ -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 }