Manage your open polycloud platform.
Project description
Manage your open polycloud platform.
The polycloud CLI includes all features to manage your polycloud setup including service template, UI templates, platform template and operation tasks. This means you save time developing and hava a higher convinince then using multiple scripts.
Getting Started
Install the cli using pip install polycloud
. Get an overview of all <objects>
and <commands>
using polycloud -h
.
Prerequisites
Install Python and Pip.
brew install python
Install cement
framework and its dependencies
pip install -r requirements.txt
Installation
Install the python code for the CLI
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 polycloud cli application
$ polycloud --help
### run pytest / coverage
$ make test
Releasing to PyPi
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
Included is a basic Dockerfile
for building and distributing Polycloud
,
and can be built with the included make
helper:
$ make docker
$ docker run -it polycloud --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file polycloud-0.0.1.dev20181010211930.tar.gz
.
File metadata
- Download URL: polycloud-0.0.1.dev20181010211930.tar.gz
- Upload date:
- Size: 915.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798dba338da42b5b981b0270a502f3242da3b389eade048a7733e2521aeaa2fe |
|
MD5 | 98ca49e4cfd58a51541d4757cf44a0b3 |
|
BLAKE2b-256 | 29529930e910cdcfc8b8f95141aaed41c66094f8ee6f18f24f35782e6827cf20 |
File details
Details for the file polycloud-0.0.1.dev20181010211930-py3-none-any.whl
.
File metadata
- Download URL: polycloud-0.0.1.dev20181010211930-py3-none-any.whl
- Upload date:
- Size: 991.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40bcd18dd8e2c7af67531a801d64893822ce811a79db1bfb5affa1f060f04f32 |
|
MD5 | e60a766f5991b50925a4ccfc0896e6c3 |
|
BLAKE2b-256 | 89279368ca7f7b8007e20cd00acd7bb65017109fe26c3d831079adc6d9e26e61 |