Rails アプリを 2 つのドメインにデプロイしたい
lab.mysitename.com
mysitename.com
ラボ サイトには、メイン サイトとは異なるデータベースが必要です。基本的に、ラボ サイトでいくつかの実験を行い、特定のユーザーにアクセスを許可したいと考えています。
cap deploy:cold を使用してメイン アプリ (mysitename.com) にデプロイしています。
このシナリオに沿ったものが欲しい
-- do something risky or fun to have
--> deploy to lab.mysitename.com
-- users play with the site and modify a sandboxed database (not the main database). everything looks great and the team loved it
--> deploy to the main site (mysitename.com)