Skip to content

WindowsSetup)

kwentenable edited this page May 28, 2020 · 3 revisions

Windows

Assumptions/Prerequisites

  1. The following was executed via powershell
  2. Jira Cloud Admin Access
  3. Tenable.io Admin Account Access
  4. System must be running Python3
    • Reference for setting up Python on Windows: https://www.liquidweb.com/kb/how-to-install-python-on-windows/
    • *Note: if this is your first-time running Python on Windows you’ll want to be sure you Check the box for “Add Python 3.7 to PATH”. This will adjust your System Environment Variables automatically so that Python can be launched from any command prompt.
    • Confirm you are running python via the following command Navigate to the directory where Python is installed and run .\python.exe -v

Example: C:\Users\Administrator\AppData\Local\Programs\Python37> .\python.exe -v

  1. You will need to install pip for Windows if you don’t already have it.
    • Reference for installing pip:
      • Download get-pip.py to a folder on your computer.
      • Open a command prompt and navigate to the folder containing get-pip.py.
      • Run the following command: python get-pip.py

Example: C:\Users\Administrator\AppData\Local\Programs\Python37> .\python.exe C:\Users\Administrator\Downloads\get-pip.py

  1. *Note: Pip is installed in the .\scripts\ directory by default.
  2. You will need to install git if you don’t already have it.
    • Navigate to the directory where Python is installed and run
      • pip install gitpython

Installation Instructions

  1. Create a Python Virtual Environment & install YAML using the pip command
    • Create a virtual environment:
      • .\python.exe -m venv [your venv name]
    • Activate your virtual environment
      • .\ [your venv name]\Scripts\activate
    • Change into the virtual environment
      • cd .\ [your venv name]\
    • Install YAML via the pip command
      • pip3 install pyyaml
    • Clone the git repo

*Note if for any reason you cannot clone the git repot via the powershell terminal you may have to do this in the git lab User Interface.

Clone this wiki locally