Git Product home page Git Product logo

cloudlaunch-cli's Introduction

CloudLaunch CLI

https://travis-ci.org/CloudVE/cloudlaunch-cli.svg?branch=master https://coveralls.io/repos/github/CloudVE/cloudlaunch-cli/badge.svg?branch=master Documentation Status Updates

Command line client to the CloudLaunch API.

Quickstart

  1. Create a virtual environment and activate it

    python3 -m venv venv
    source venv/bin/activate
    
  2. Install cloudlaunch-cli with pip

    pip install cloudlaunch-cli
    
  3. The CloudLaunch CLI requires two config settings. First is the URL of the API root:

    cloudlaunch config set url https://launch.usegalaxy.org/cloudlaunch/api/v1
    
  4. Second config setting is an auth token. To get an auth token, first log into CloudLaunch, for example, by going to https://launch.usegalaxy.org/login. Then navigate to the /api/v1/auth/tokens API endpoint, for example, https://launch.usegalaxy.org/cloudlaunch/api/v1/auth/tokens/. Copy the token out of the JSON response and then run the following (substituting your own token instead):

    cloudlaunch config set token b38faadf2ef6d59ce46711ed73e99d6...
    
  5. Now you should be able to list your deployments

    cloudlaunch deployments list
    
  6. You can create a deployment as well

    cloudlaunch deployments create my-ubuntu-test ubuntu \
        amazon-us-east-n-virginia --application-version 16.04
    

Installing for development

  1. python3 -m venv venv
  2. source venv/bin/activate
  3. pip install -r requirements_dev.txt

Now you can run cloudlaunch.

Release process

bumpversion patch
# or `bumpversion minor` or `bumpversion major`
git push
git push --tags
make release

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

cloudlaunch-cli's People

Contributors

machristie avatar nuwang avatar afgane avatar pyup-bot avatar

Stargazers

 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.