Single App or Separate Apps for Development/Production in Rails -



Single App or Separate Apps for Development/Production in Rails -

i'm using bluehost , i'm relatively new rails (and ruby). here's current setup:

one app on local hd two apps on cpanel

/rails_apps/myappdev on "dev.myapp.com" /rails_apps/myapppro on "myapp.com"

do have maintain ftping same local file(s) both dev , production apps or there rails environments i'm not understanding?

if utilize passenger, can have 1 application available in 2 different environments (here discussion might find useful). not claiming way - 1 aware of.

other that, check configuration file (config/environment.rb, if not mistaken) (see this question) - although afraid require restart app server every time create alter , create app available in 1 environment @ time.

aside that, think thought test app in development mode before switching production.

i have no thought bluehost (i self-hosting), think should help little before knows service helps improve :)

ruby-on-rails development-environment production-environment

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -