Coder Social home page Coder Social logo

fly's Introduction

fly

a simple shell script for wrapping services as upstart-managed docker containers.

###Installation

Install the current master (as root):

mkdir /opt/fly
curl -sL 'https://raw.githubusercontent.com/Stocard/fly/master/fly.sh' > /opt/fly/fly.sh
chmod +x /opt/fly/fly.sh
ln -s /opt/fly/fly.sh /usr/local/bin/fly

###Commands

####fly fetch Performs git fetch in the current directory and resets to origin/master.

####fly fetch-config Performs git fetch in directory given as environment variable FLY_CONFIG_DIR and resets to origin/master.

####fly build ENVIRONMENT Builds a container using the given parameters and creates an upstart config.
Requires FLY_CONFIG_DIR as an environment variable.

####fly run [command] Builds and starts a container and runs [command] in it.

####fly deploy ENVIRONMENT Performs fly fetch, fly fetch-config, fly build and service <SERVICE_NAME> restart.
Requires FLY_CONFIG_DIR as an environment variable.

####fly upgrade [github_user/repo] [git_ref] Upgrades fly to the latest version.
Example: fly upgrade mirkokiefer/fly
Defaults to fly upgrade Stocard/fly master

fly's People

Contributors

mirkokiefer avatar

Watchers

James Cloos 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.