Hi,
I have my Rails app setup on LiteSpeed by instantiating a virtual host I created using the Rails template.
Now I want to create two environment for the same app. A staging environment and a production environment.
What is still not clear to me is how the RAILS_ENV can be set. Should I create a external app under my vhost definition so I can specify the RAILS_ENV?
There I have the option of specifying environment options so I could add for instance RAILS_ENV=staging?
If this is the way to go, what should I add for the 'command' variable?
Thanks and Regards,
Onno
I have my Rails app setup on LiteSpeed by instantiating a virtual host I created using the Rails template.
Now I want to create two environment for the same app. A staging environment and a production environment.
What is still not clear to me is how the RAILS_ENV can be set. Should I create a external app under my vhost definition so I can specify the RAILS_ENV?
There I have the option of specifying environment options so I could add for instance RAILS_ENV=staging?
If this is the way to go, what should I add for the 'command' variable?
Thanks and Regards,
Onno