Configurations Flashcards
1
Q
How to run app in production env?
A
rails s -e production
2
Q
How to create db for production env?
A
rails db:create RAILS_ENV=production
3
Q
Why do we need bin folder?
A
This folder contains script which we can run from the rails folder (bundle, yarn, rake, rails …)
4
Q
What is the main place for rails configuration?
A
config/application.rb