cloudlaunch api的命令行客户机。
cloudlaunch-cli的Python项目详细描述
===
cloudlaunch cli
==
==
……图片::https://travis-ci.org/cloudve/cloudlaunch-cli.svg?branch=master
:目标:https://travis ci.org/cloudve/cloudlaunch cli
…图片::https://coveralls.io/repos/github/cloudve/cloudlaunch-cli/badge.svg?branch=master
:目标:https://coveralls.io/github/cloudve/cloudlaunch-cli?分支=主
…图片::https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:目标:https://pypi.python.org/pypi/cloudlaunch_cli
…图片::https://readthedocs.org/projects/cloudlaunch-cli/badge/?version=latest
:目标:https://cloudlaunch-cli.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图片::https://pyup.io/repos/github/cloudve/cloudlaunch_cli/shield.svg
:目标:https://pyup.io/repos/github/cloudve/cloudlaunch_cli/
:alt:updates
cloudlaunch api的命令行客户端。
*免费软件:mit license
*文档:https://cloudlaunch cli.readthedocs.io.
quickstart
==
1。创建一个虚拟环境并激活它:
:
python3-m venv venv
source venv/bin/activate
2。安装“cloudlaunch cli”,pip
::
pip安装cloudlaunch cli
3。cloudlaunch cli需要两个配置设置。首先是
api根目录的url:
:
cloudlaunch配置集url https://launch.useglaxy.org/cloudlaunch/api/v1
4。第二个配置设置是身份验证令牌。要获取身份验证令牌,首先登录cloudlaunch,例如,转到https://launch.useglaxy.org/login。然后导航到
``/api/v1/auth/tokens``api端点,例如,
https://launch.useglaxy.org/cloudlaunch/api/v1/auth/tokens/
从json响应中复制令牌,然后运行以下
(替换您自己的令牌):
:
cloudlaunch config set token b38faadf2ef6d59ce46711ed73e99d6…
5。现在您应该能够列出您的部署
::
cloudlaunch deployments list
6。您也可以创建一个部署
::
cloudlaunch deployments create my ubuntu test ubuntu\
amazon-us-east-n-virginia--application version 16.04
installing for development
``Python3-m venv venv``
2.``源venv/bin/activate``
3.`` pip-install-r-requirements-dev.txt``
现在可以运行``cloudlaunch``.
release process
=========
bumpversion补丁
bumpversion补丁
bumpversion小版或bumpversion大版`
git push-git push-tags
make release
credits
=>
是用cookiecutter和“audreyr/cookiecutter pypackage”项目模板创建。
…_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter pypackage`:https://github.com/audreyr/cookiecutter pypackage
===
历史
===
<0.2.0-2018-11-14-(sha 331e58f756145316334049100f582d4316055fb)
----
*主要重构。
*与python 2的向后兼容性。
*集成测试cloudlaunch.
0.1.0-2018-01-09
----
*在pypi上首次发布。
cloudlaunch cli
==
==
……图片::https://travis-ci.org/cloudve/cloudlaunch-cli.svg?branch=master
:目标:https://travis ci.org/cloudve/cloudlaunch cli
…图片::https://coveralls.io/repos/github/cloudve/cloudlaunch-cli/badge.svg?branch=master
:目标:https://coveralls.io/github/cloudve/cloudlaunch-cli?分支=主
…图片::https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:目标:https://pypi.python.org/pypi/cloudlaunch_cli
…图片::https://readthedocs.org/projects/cloudlaunch-cli/badge/?version=latest
:目标:https://cloudlaunch-cli.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图片::https://pyup.io/repos/github/cloudve/cloudlaunch_cli/shield.svg
:目标:https://pyup.io/repos/github/cloudve/cloudlaunch_cli/
:alt:updates
cloudlaunch api的命令行客户端。
*免费软件:mit license
*文档:https://cloudlaunch cli.readthedocs.io.
quickstart
==
1。创建一个虚拟环境并激活它:
:
python3-m venv venv
source venv/bin/activate
2。安装“cloudlaunch cli”,pip
::
pip安装cloudlaunch cli
3。cloudlaunch cli需要两个配置设置。首先是
api根目录的url:
:
cloudlaunch配置集url https://launch.useglaxy.org/cloudlaunch/api/v1
4。第二个配置设置是身份验证令牌。要获取身份验证令牌,首先登录cloudlaunch,例如,转到https://launch.useglaxy.org/login。然后导航到
``/api/v1/auth/tokens``api端点,例如,
https://launch.useglaxy.org/cloudlaunch/api/v1/auth/tokens/
从json响应中复制令牌,然后运行以下
(替换您自己的令牌):
:
cloudlaunch config set token b38faadf2ef6d59ce46711ed73e99d6…
5。现在您应该能够列出您的部署
::
cloudlaunch deployments list
6。您也可以创建一个部署
::
cloudlaunch deployments create my ubuntu test ubuntu\
amazon-us-east-n-virginia--application version 16.04
installing for development
``Python3-m venv venv``
2.``源venv/bin/activate``
3.`` pip-install-r-requirements-dev.txt``
现在可以运行``cloudlaunch``.
release process
=========
bumpversion补丁
bumpversion补丁
bumpversion小版或bumpversion大版`
git push-git push-tags
make release
credits
=>
是用cookiecutter和“audreyr/cookiecutter pypackage”项目模板创建。
…_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter pypackage`:https://github.com/audreyr/cookiecutter pypackage
===
历史
===
<0.2.0-2018-11-14-(sha 331e58f756145316334049100f582d4316055fb)
----
*主要重构。
*与python 2的向后兼容性。
*集成测试cloudlaunch.
0.1.0-2018-01-09
----
*在pypi上首次发布。