Getting Started Local Install

Local installation tutorial

There are some requirements for local installation:

  1. Have access to the repos (mbpy endpoints and mbpy) and accepted the invites

  2. Authenticated with github

    1. Install gh command linearrow-up-right utility. This will authenticate your device with github.

      1. On Mac, you can use brewarrow-up-right to install it: brew install gh

    2. Once the gh command is installed, use it to login: gh auth login

      1. Use HTTPS method, and either choose to login via browser or use a token

  3. Have pipx installedarrow-up-right

    1. On Mac, brew install pipx and then pipx ensurepath

    2. On Linux, python3 -m pip install --user pipx and then python3 -m pipx ensurepath

Installling with pipx

Remember you have to be logged in to github for this to work gh auth login as above:

pipx install git+https://github.com/classroomtechtools/mbpy.git
triangle-exclamation

Configure

Every time you want to add a school to mbpy, it needs to be configured. Learn how here:

Configurationchevron-right

Updating

Local Development Install

To develop mbpy or expand its functionality, use poetry:

After that, you can use poetry shell from that directory, add breakpoints etc and hack away. Use mpby commands like usual.

Last updated

Was this helpful?