Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.11 KB

development.md

File metadata and controls

45 lines (33 loc) · 1.11 KB

Canvas LTI Tool Migration — Development

Running with Python virtual environment

⚠ The method documented here for running the application is an alternative to the method described in the README.md file, in the section "Running with Docker compose". This method is not recommended unless the required version of Python (3.11) is installed, and you are familiar with its virtual environments. This method is mostly useful for development.

Prerequisites

  • Python 3.11 — This must be installed first.
  • tool-migration — Download the latest release of this app and unzip it. (Alternatively, the repository can be cloned.)

Installation

python3.11 -m venv venv
source venv/bin/activate  # Mac OS
pip install -r requirements.txt

Configuration

cp env.sample env
# Then fill in the missing values

Running

python migration/main.py

Testing

python migration/tests.py -v