Coder Social home page Coder Social logo

tanqueta / nailgun Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amardaxini/nailgun

0.0 0.0 0.0 191 KB

It is a ruby wrapper of nailgun server.

Home Page: http://paramitech.com/2010/08/nailgun-using-ruby/

License: MIT License

Ruby 100.00%

nailgun's Introduction

Nailgun

Nailgun is server that preloads JVM so no need to load JVM on each request.

nailgun is a ruby wrapper of nailgun server and it's command.

Make sure before installing You have to set classpath environment variable which is point to jre/lib path.

Install

./script/plugin install git://github.com/amardaxini/nailgun.git

rake nailgun

OR sudo gem install nailgun

Configuration

These are the default settings which can be overwritten in your enviroment configuration file:

Nailgun::NailgunConfig.options =
  {
      :java_bin => "java",
       :server_address =>'localhost',
      :port_no=>'2113'
  }
Example ======= Run Rake Task

Install as a plugin

rake nailgun

It will generate nailgun_config binary.

To start nailgun server(if you want you can overwrite default configuration)

nailgun_config start

To stop nailgun server

nailgun_config stop

Install as a Gem It will generate local configuration for nailgun_config update nailgun configuration and manage nailgun

To start nailgun server(if you want you can overwrite default configuration)

nailgun_config start

To stop nailgun server

nailgun_config stop

To add client side jar

Nailgun::NgCommand.ng_cp(absolute jar path)

To create alias of class

Nailgun::NgCommand.ng_alias(alias name,class name)

Make sure that class name is exist in client side jar path and its contain main To easy to use nailgun server best way is combine all jar to make one jar

Copyright (c) 2010 amardaxini, released under the MIT license 1: http://railstech.com

nailgun's People

Contributors

amardaxini avatar zachallaun avatar rhunter avatar muz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.