ENV's (Environment Variables) are a fantastic way to pass API credentials to your application without storing them in version control.
In this episode of quickly explain how an ENV works, how to add a fallback & an awesome approach to managing them across your application.
Sources
➡ https://github.com/bkeepers/dotenv
➡ https://github.com/ddollar/foreman
➡ https://andycroll.com/ruby/wrap-your-...
Chapters
0:00 - What are we going to do
0:18 - What is an ENV
1:32 - What is an .env file?
2:30 - Passing ENVs to your Application
4:00 - Adding fallback values with .fetch
4:50 - Settings Objects
Follow Me Online
➡ Blog: https://mikerogers.io/
➡ Twitter: / mikerogers0
➡ GitHub: https://github.com/mikerogers0
➡ YouTube: / mikerogers0
➡ BuyMeACoffee: https://www.buymeacoffee.com/MikeRogers0
➡ Dev.to: https://dev.to/mikerogers0
#RubyOnRails #ENVs
Auf dieser Seite können Sie das Online-Video Environment Variables & Settings Objects in Ruby mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Mike Rogers 13 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 780 Mal angesehen und es wurde von 17 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!