Ruby on Rails Tuesday, October 14, 2014

On Monday, October 13, 2014 7:48:06 PM UTC+3, Hans wrote:
There is really no deployment script
We had an application in development mode that was changed to production mode by changing the configuration file on the apache server with fusion passenger ( think?).
and by setting railsenv-variabeln to production
and by running rake task precompile assets
I would like to deploy it by uploading all files that according to their timestamps have been changed
then precompile assets  when needed 
Then What is needed ??

Well then there's your deployment script:

1) upload the changes
2) rake assets:precompile
3) restart apache

Just in case something goes wrong, try this in a safe environment first and make sure application is running properly (you've got e2e tests, don't you? :-D)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3933e65d-063e-47e4-8844-08a65f410981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment