Table of Content
Deployment database config
We set the database connection configuration in the database.yml
file. This is convenient in development environment. But in production, we would better put the database connection and secret out of the database configuration file. We can do that by putting the value in environment variable and use ENV
to access them.
What’s next? We’re going to take a look at “Introducing git”.