Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 977 Bytes

File metadata and controls

38 lines (24 loc) · 977 Bytes

python-external-dependency-testing

Course material for WWCode Connect Digital 2020

Requirements

  • python 3.8+
  • working internet connection for pip operations and calling the Advice Slip API

Setting up

  1. (Optional) If you are familiar with virtualenv, you may use venv as the virtual environment directory (added to .gitignore).

      python -m venv venv
    

    Make sure to activate your virtual environment afterwards. Command for activating the virtual environment will depend on your system and terminal.

      source venv/Scripts/activate
    
  2. Download dependencies per requirements.txt

      python -m pip install -r requirements.txt
    
  3. Run main.py to make sure that things are running on your end

      python main.py
    

Credits

Advice Slip API (@adviceslip) provided by @tomkiss