Skip to content

Instantly share code, notes, and snippets.

@zackoch
Last active June 28, 2024 22:54
Show Gist options
  • Select an option

  • Save zackoch/26c10c3aa3baedf781ee7a2a2bc8a604 to your computer and use it in GitHub Desktop.

Select an option

Save zackoch/26c10c3aa3baedf781ee7a2a2bc8a604 to your computer and use it in GitHub Desktop.
#so you'll do the following commands:
# this gets you into your home directory
cd ~
# this just lists files in the directory you're in
ls
# this is to make sure you have the required stuff first (python and git)
sudo apt-get install python3-dev git
# this pulls down the code from github
git clone https://github.com/zackoch/dual-adxl345.git
# this creates a python virtual environment
python3 -m venv venv
# this activates the python virtual environment
source ./venv/bin/activate
# this installs the prerequisite python packages
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment