Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.03 KB

File metadata and controls

43 lines (33 loc) · 1.03 KB

Using the Pelastic tool

Download

https://github.com/codingogre/pelastic/archive/master.zip

Configuration

Pelastic requires a configuration file, where the path (including file) is either pulled from the environment variable PELASTIC_CONFIG, or looked for in the hard-coded ~/.config/pelastic.ini

Example on Apple OS X. Open the Terminal.app and enter the following

export PELASTIC_CONFIG=$HOME/pelastic.ini

Example on Windows. Open Powershell and enter the following

[Environment]::SetEnvironmentVariable("PELASTIC_CONFIG", "C:\Users\wutan\pelastic.ini", "User")

Example Configuration File

[peloton]
username = Your_Peloton_Username_Or_Email
password = Your_Peloton_Password

[elastic]
id = Your_Elastic_Cloud_ID
username = Your_Elastic_Cluster_Username
password = Your_Elastic_Cluster_Password

Example Usage

Open the Terminal.app on Apple OS X and navigate to the folder where pelastic is downloaded

./pelastic.py

Open Powershell on Windows

python pelastic.py