Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This script sets up a python virtual environment, installs packages within it, binds the running of the docker container to the opening/closing of this virtual environment, adds some aliases, and a few other small things. For a list of tools that we use, take a look at the next section.

  1. (IF ON LINUX ONLY, ELSE SKIP) Fix Rust-Sudo Dynamic

This step helps alleviate sudo requirements for certain things, especially for our rust commands (rust doesn’t play nice with sudo)

Follow the steps outlined here: https://probe.rs/docs/getting-started/probe-setup/#linux%3A-udev-rules

  1. Set up shell aliases
    This is by no means mandatory, but it might be helpful and is a bit hard to automate in the above script. If you’d like to save time activating and de-activating the virtual environment, you can alias these commands for whichever shell you are using For now, I’m not going to walk through instructions for doing this here; there’s many shells you all might be using, and a million ways to do this, but if you are unsure of how to do it feel free to ask someone and they can help you through it. I use fish shell on Linux, so I’ve added this line to my config.fish file:

...