Skip to main content

Getting basic interactions with Tetration via our favourite media, the cli

Project description

Tetrationcli to interact with Tetration Cluster via the cli

Installation

$ pip install -r requirements.txt

$ pip install setup.py

Development

This project includes a number of helpers in the Makefile to streamline common development tasks.

Environment Setup

The following demonstrates setting up and working with a development environment:

### create a virtualenv for development

$ make virtualenv

$ source env/bin/activate


### run tetrationcli cli application

$ tetrationcli --help


### run pytest / coverage

$ make test

Releasing to PyPi

EXPERIMENTAL

Before releasing to PyPi, you must configure your login credentials:

~/.pypirc:

[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORD

Then use the included helper function via the Makefile:

$ make dist

$ make dist-upload

Deployments

Docker

EXPERIMENTAL

Included is a basic Dockerfile for building and distributing Tetration Command Line Interaction, and can be built with the included make helper:

$ make docker

$ docker run -it tetrationcli --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tetrationcli-0.0.1.dev20181119115558.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page