Working with your .env file
The workflow around this can be tricky. Going from Local, to Travis CI, to CodeDeploy
, and then to AWS without storing your information in .env
on GitHub can be a challenge. What I will show here are some tools and techniques to do this well.
Getting ready
A base installation is fine; I will use the existing installation to show some tricks around this.
How to do it…
- Minimize the
.env
variable using Conventions as much as possible:config/queue.php
I can do this to have one or more Queues:config/filesystems.php
:
- Use the
Config ...
Get Laravel 5.x Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.