Skip to content

Commit 36021db

Browse files
authored
Merge pull request #82 from BinaryStudioAcademy/feature/readme
Add email setup .env
2 parents b9758c3 + 68f986b commit 36021db

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

backend/readme.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,16 @@ docker exec -it thread-app php artisan storage:link
5252
Application server should be ready on http://localhost:<APP_PORT>
5353

5454
Pusher websocket server install:
55-
* Create an account and application on [pusher.com](https://pusher.com/) and copy your credentials to your .env.
56-
* Launch beanstalkd queue listening to messages by `docker exec -it thread-app php artisan queue:work`
55+
* Create an account and application on [pusher.com](https://pusher.com/) and copy your credentials to your .env (`PUSHER_APP_ID=...`).
56+
* Update your .env (`QUEUE_CONNECTION=beanstalkd`, `BROADCAST_DRIVER=pusher`) and launch beanstalkd queue listening to messages by `docker exec -it thread-app php artisan queue:work`
57+
58+
Emails processing .env settings (you can use [mailtrap](https://mailtrap.io/) or your smtp credentials like [email protected]):
59+
```dotenv
60+
MAIL_DRIVER=smtp
61+
MAIL_HOST=smtp.mailtrap.io
62+
MAIL_USERNAME=<mailtrap_key>
63+
MAIL_PASSWORD=<mailtrap_password>
64+
MAIL_PORT=587
65+
66+
MAIL_FROM_NAME="BSA Thread Admin"
67+
```

0 commit comments

Comments
 (0)