Git Product home page Git Product logo

bob's Introduction

bob the builder

Minimal deploy tool using git post-receive hooks.

One-line install

curl -fs https://raw.github.com/e-conomic/bob/master/install | bash

Usage

After you install it run bob to get some help.

Usage: bob [command] [remote] [options...]

The following commands are available from inside a git repo
All commands can be autocompleted by doing bob <tab><tab>

  bob add [remote] [[email protected]]
  will add and instantiate a new remote to the repository
    --scripts to specify a different script folder than the default one

  bob rename [old-name] [new-name]
  will rename the remote locally and on the remote server

  bob edit [remote] profile|build|deploy|restart|bundled-launch
  edit the scripts associated with your remote
  bundled-launch is the launch script that is bundled with your application

  bob fetch [remote] (profile|build|deploy|restart|bundled-launch)?
  fetch the current used scripts
  omit the 4th argument to get a tarball of all scripts
    --dir to save it to a directory

  bob push [remote] [branch]
  similar to a git push.
  will issue a build->deploy->restart on the remote

  bob redeploy [remote]
  reruns the deploy routing build->deploy->restart
  this is useful if you have updated any of your scripts or something has failed

  bob restart [remote]
  will execute the restart script on the remote
  this is a lightweight alternative to redeploy

  bob update
  will update bob to the newest version

  bob remove
  will execute the remove script on the remote
  and remove the remote afterwards

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.