Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

DCOS Quobyte Command Line Interface

Project description

DCOS Quobyte Subcommand
==========================
Basic DCOS subcommand

Setup
-----
#. Make sure you meet requirements for installing packages_
#. Clone git repo for the dcos quobyte cli::

git clone git@github.com:quobyte/dcos-quobyte.git

#. Change directory to the repo directory::

cd dcos-quoybyte

#. Make sure that you have virtualenv installed. If not type::

sudo pip install virtualenv

#. Create a virtualenv for the project::

make env

Configure Environment and Run
-----------------------------

#. TODO: Talk about how to configure the root dcos cli

#. :code:`source` the setup file to add the :code:`dcos-quobyte` command line interface to your
:code:`PATH`::

source env/bin/activate

#. Get started by calling the DCOS Quobyte CLI's help::

dcos quobyte help

Running Tests:
--------------

Setup
#####

Tox, our test runner, tests against both Python 2.7 and Python 3.4 environments.

If you're using OS X, be sure to use the officially distributed Python 3.4 installer_ since the
Homebrew version is missing a necessary library.

Running
#######

Tox will run unit and integration tests in both Python environments using a temporarily created
virtualenv.

You should ensure :code:`DCOS_CONFIG` is set and that the config file points to the Marathon
instance you want to use for integration tests.

There are two ways to run tests, you can either use the virtualenv created by :code:`make env`
above::

make test

Or, assuming you have tox installed (via :code:`sudo pip install tox`)::

tox

Other Useful Commands
#####################

#. List all of the supported test environments::

tox --listenvs

#. Run a specific set of tests::

tox -e <testenv>

.. _packages: https://packaging.python.org/en/latest/installing.html#installing-requirements

Project details


Release history Release notifications

This version
History Node

1.0.1b0

History Node

1.0.0b0

History Node

1.0.0a2

History Node

1.0.0a1

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page