Giter Club home page Giter Club logo

ironcli's Introduction

IronCLI

Go version of the Iron.io command line tools.

Install

Quick and Easy (Recommended)

curl -sSL https://cli.iron.io/install | sh

If you're concerned about the potential insecurity of using curl | sh, feel free to use a two-step version of our installation and examine our installation script:

curl -f -sSL https://cli.iron.io/install -O
sh install

curl | sh as an Installation Method?

We'd like to explain why we're telling you to curl | sh to install this software. The script at https://cli.iron.io/install has some relatively simple logic to download the right ironcli binary for your platform. When you run that script by piping the curl output into sh, you're trusting us that it's safe and won't harm your computer. We hope that you do! But if you don't please see the section just below this one on how to download and run the binary yourself without an install script.

See other installation methods for more options.

Getting Started

Before Getting Started

Before you can use IronWorker, be sure you've created a free account with Iron.io and setup your Iron.io credentials on your system (either in a json file or using ENV variables). You only need to do that once for your machine. If you've done that, then you can continue.

See the official docs for more detailed info on using Docker for IronWorker.

Actually Getting Started

The easiest way to get started is by digging around.

$ iron --help for example usage and a list of commands

Contributing

Give us a pull request! File a bug!

Since go1.5, we are lab rats in the go1.5 vendoring experiment. This eliminates the need to modify import paths and depend on package maintainers not to break things. For more info, see: https://golang.org/s/go15vendor.

We use dep to manage the vendoring. To build ironcli:

dep ensure
go build

Other Installation Methods

Download Yourself

Grab the latest version for your system on the Releases page.

You can either run the binary directly or add somewhere in your $PATH.

Use the iron/cli Docker image

If you have Docker installed, then you don't need to install anything else to use this. All the commands are the same, but instead of starting the command with iron, change it to:

docker run --rm -it -v "$PWD":/app -w /app iron/cli ...

If you're using the Docker image, you either need to have your iron.json file in the local directory (it won't pick it up from $HOME), or set your Iron credentials in environment variables:

export IRON_TOKEN=YOURTOKEN
export IRON_PROJECT_ID=YOURPROJECT_ID

And then use -e flags with the docker run command:

docker run --rm -it -e IRON_TOKEN -e IRON_PROJECT_ID -v "$PWD":/app -w /app iron/cli ...

on OSX with HomeBrew:

brew install ironcli

ironcli's People

Contributors

alex-litvak avatar arschles avatar c0ze avatar ches avatar d-kononov avatar dukelion avatar dylanz avatar john-paul-keenan avatar merqlove avatar nicksardo avatar nikhilm avatar noqcks avatar nyarum avatar pedronasser avatar pyeremenko avatar rkononov avatar treeder avatar vasilev avatar vlopatkin avatar

Watchers

 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.