开发者

Distributing an application written in Ruby on Rails

开发者 https://www.devze.com 2023-03-04 05:51 出处:网络
开发者_如何学CWe have an existing web application that is written in Ruby 1.9.2 and Rails 3.x. Our original model was software as a service but in investigating in our industry there are times where h

开发者_如何学CWe have an existing web application that is written in Ruby 1.9.2 and Rails 3.x. Our original model was software as a service but in investigating in our industry there are times where hosting our code on the client may be a better option for privacy reasons (having the clients data stored at their own data center).

What are the best measures to protect our codebase from being viewed? Has anyone had experience compiling into JRuby or similar solutions. What are the steps are caveats?

Thanks


Look at warbler. You can package your rails app as a standalone, compiled (i.e., java classes) java app for distribution if you use the 'executable' and 'compiled' features, you can get compiled java classes packaged into a servlet container that can run as 'java -jar app.jar'.

0

精彩评论

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