How to configure your Rails app to ship

You’re ready to launch your first production app, and it’s time to get it talking to some external services. You still have to get everything hooked up. So what’s the best way to configure your services in production, without making things more complicated on your dev machine?

Set up your Environment

To configure production apps, today’s best practice is to use environment variables (those ENV["REDIS_HOST"]-looking things).

But why?

It’s harder to accidentally commit your production keys.

If...

 •  0 comments  •  flag
Share on Twitter
Published on March 22, 2015 16:00
No comments have been added yet.