Code Monkey home page Code Monkey logo

inploy_godlike's Introduction

Inploy_godlike

Manage deployed services with god

This tiny gem adds support for another server, god, to manage restarts for your application. Features:

  • it runs separate god instances for every application (choose your app names wisely)
  • it loads all configuration files from config/*.god
  • it starts or restarts monitoring process on every deployment
  • ideal for local rvm configurations, where every user uses their own ruby instances

Usage

in config/deploy.rb:

deploy.server = :godlike
deploy.god_group = 'groupname'

where 'groupname' is what you have set in all of your *.god files:

God.watch do |w|
  ...
  w.group = 'groupname'
  ...
end

CLI usage after deployment:

Specify the group name every time you call god, like this:

$ god -p <groupname> [commands and parameters]

Suggested .rvmrc settings:

~/.rvmrc:

unalias god 2>/dev/null

<application dir>/.rvmrc:

alias god='god -p <groupname>'

Copyright © 2010 Balazs Nagy, released under the MIT license

inploy_godlike's People

Contributors

julian7 avatar

Stargazers

 avatar

Watchers

 avatar  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.