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
In questa pagina del sito puoi guardare il video online Environment Variables & Settings Objects in Ruby della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Mike Rogers 13 giugno 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 780 volte e gli è piaciuto 17 spettatori. Buona visione!