Caliper Admin(Preferred Usage)
Setup
The following table provides commands to download caliper admin for the respective operating system OSX, Linux or Windows.
Operating System |
Command to execute |
|---|---|
Windows |
(Invoke-WebRequest -Uri https://cdn.q2developer.com/sdk/caliper_admin/v0.2.0/windows/install_windows).Content | Invoke-Expression
|
Linux |
source <(curl -s https://cdn.q2developer.com/sdk/caliper_admin/v0.2.0/linux/install_linux)
|
OSX |
source <(curl -s https://cdn.q2developer.com/sdk/caliper_admin/v0.2.0/osx/install_osx)
|
This will present you with a list of options.
- Login
Authenticates you to connect to the server. Requires access token from Q2developer.com account. If you already generated one previously, it is stored at ~/.antilles/cognito_token
- Python
Select the python version you want to install on your system from the options
- Linux
Downloads and installs the selected python version
- Mac/Windows
Provides a link to the website to install python package
- Status
Provides metadata of the following information related to stack.
OS information
Caliper Admin Metadata
SDK Environment
Q2Developer account details
Python versions installed in your system and their path
Git Path
- Memcached
Start or Stop the caching service
memcached. Turning on allows testing caching of data locally.- Set Stack
Select and switch to the stack of your choice from the available options. Generates a file in
~/.antilles/sdk_env_vars.shto point at appropriate resources.- Code
Works with existing git repositories. Existing git repos will follow the normal rules, i.e. you need permissions and can use ssh or https.
Build a virtual environment from the python version appropriate to the sdk version from repo. If unable to determine python version, then the virtual environment is built off of latest python version.