22
23
$ source .tox/py27/bin/activate
24
Finally, use this script to build the wrapper script in your virtual environment for the CLI tools::
25
Finally, use this script to build the wrapper script in your virtual
26
environment for the CLI tools::
26
28
$ python setup.py develop
32
For using ``python-tuskarclient`` within a Python application,
33
`this wiki page <https://github.com/tuskar/python-tuskarclient/wiki/Usage>`_ provides
34
the most complete documentation.
34
For using ``python-tuskarclient`` within a Python application, `this
35
wiki page <https://github.com/tuskar/python-tuskarclient/wiki/Usage>`_
36
provides the most complete documentation.
39
On the command line, ``python-tuskarclient`` implements the ``tuskar`` command.
41
First, be sure to run all of the steps in the Getting Started section, above, and that you have not deactivated your virtual environment.
43
Then, export these two environment variables, customizing them if necessary::
41
On the command line, ``python-tuskarclient`` implements the ``tuskar``
44
First, be sure to run all of the steps in the Getting Started section,
45
above, and that you have not deactivated your virtual environment.
47
Then, export these two environment variables, customizing them if
45
50
$ export OS_AUTH_TOKEN=nopass
46
51
$ export TUSKAR_URL=http://localhost:6385/
48
(Note that 'nopass' is the correct value in a default setup with no authentication.)
53
(Note that 'nopass' is the correct value in a default setup with no
50
Now you may interact with Tuskar by using the ``tuskar`` command. ``tuskar --help`` with list full usage details. You can use ``tuskar rack-list`` as an example.
b'\\ No newline at end of file'
56
Now you may interact with Tuskar by using the ``tuskar``
57
command. ``tuskar --help`` with list full usage details. You can use
58
``tuskar rack-list`` as an example.