Ruby on Rails Friday, February 28, 2014

On Friday, February 28, 2014 4:33:05 AM UTC, Jay Amorin wrote:
I just want that every time i restart my server, rails would also be up and running. No need for me to login and cd to your rails apps and then type rails server.

I already did those cool stuff, nginx proxy on the frontend, rails on the backend.

The thing is my current rails don't comes with a startup/init script. I hope that someone already did that and would like to share.

 
Typically people don't use `rails server` in production, which is probably why you haven't found any examples of that. You're more likely to use something like unicorn, puma, passenger (either the standalone version or the nginx/apache module version) and you shouldn't have trouble finding startup scripts for those.

Fred

--
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/ec88b452-4420-4881-be9b-31b02d1463d7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment