Configurations Flashcards

1
Q

How to run app in production env?

A

rails s -e production

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to create db for production env?

A

rails db:create RAILS_ENV=production

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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 …)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the main place for rails configuration?

A

config/application.rb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly