Peer Code Training Sample Project

Installation

It requires Python v3.7.5+ to run.

Install the dependencies and run the python file.

cd rl1-non-bkfs-step-integration
pip3 -m virtualenv venv
source venv/bin/activate
pip install --no-cache-dir -r requirements.txt

Execution

Required env vars:

  • BITWARDEN_ENV ('local' or 'robocloud') Get bitwarden creds from env vars or from Robocloud Vault. Default is 'local'
  • BITWARDEN_USERNAME (should be set for local execution if BITWARDEN_ENV=='local')
  • BITWARDEN_PASSWORD (should be set for local execution if BITWARDEN_ENV=='local')
  • BITWARDEN_CLIENT_ID (should be set for local execution if BITWARDEN_ENV=='local')
  • BITWARDEN_CLIENT_SECRET (should be set for local execution if BITWARDEN_ENV=='local')

example:

# bot execution locally
python task.py

via rcc:

rcc run