开发者

Restarting Rails Application

开发者 https://www.devze.com 2023-02-25 06:35 出处:网络
I am building an application that will only be run on a local network andam looking for the best way to restart my server from within the application itsel开发者_Go百科f. For the time being this is on

I am building an application that will only be run on a local network and am looking for the best way to restart my server from within the application itsel开发者_Go百科f. For the time being this is only running on Windows using WEBrick.


Look at Capistrano as others have suggested, it's fantastic :)

$ cap deploy

That's all you have to do. It'll grab the latest source from your git/SVN repo (lots more supported ofc), deploy, and restart your app server.

0

精彩评论

暂无评论...
验证码 换一张
取 消