ruby on rails - How to run two Zeus servers -
i have several projects in different folders, can run several zeus instances, different port each one?
i have gotten till https://github.com/burke/zeus/blob/master/docs/ruby/modifying.md. have no clue if can done.
added rails tag people using rails know one.
yes can - don't need anything, because zeus using unix domain sockets rather tcp (unlike spork example)
say you're working on 2 apps. when in root folder of first app , run zeus start
, zeus creates socket called zeus.sock in folder. when run various zeus commands in folder, finds socket , uses talk zeus server.
meanwhile second app have own zeus.sock file, in folder. commands run in folder find socket rather first.
Comments
Post a Comment