in my rails development environment I can start the console or the DB console by issuing the well know commands:
rails c(onsole)
rails dbconsole
In order to achieve the same result in production environment on
OpenShift issue the following:
cd $OPENSHIFT_REPO_DIR
RAILS_ENV=production bundle excec rails c(onsole)
RAILS_ENV=production bundle excec rails dbconsole
Nessun commento:
Posta un commento