- TODO: integrate notes from
interactive_setup.mdinto this file! - TODO: Add notes on git creds (its in the notion, but not here)
Temp command for installing jetson-inference... I'll integrate this properly soon
cd ~/Desktop && \
sudo bash -c 'apt-get update && \
apt-get install -y git cmake && \
git clone --recursive --depth=1 https://github.com/timf34/jetson-inference && \
cd jetson-inference && \
mkdir build && \
cd build && \
cmake ../ && \
make -j$(nproc) && \
make install && \
ldconfig'This repo contains scripts for setting up the Jetsons initially.
initial_jetson_setup.sh
- Downloads packages and clones repos needed for the Jetson
set_env_vars.sh
- Sets environment variables. Note that we need to manually write these for each Jetson rn
requirements.txt
- General pip requirements for the Jetson
See the interactive_setup.md file for stuff that needs to be done before and after running initial_jetson_setup.sh
set_env_vars.sh
- Be sure to change the variables!
- Note that this script needs sudo priviledges! Run the following to run this script:
chmod +x set_env_vars.sh
./set_env_vars.shAnd note that I can run this so I don't have to reboot the Jetson for the env variable to take place:
export DEVICE_NAME="marvel-fov-2"
initial_jetson_setup.sh:
chmod +x initial_jetson_setup.sh
./initial_jetson_setup.sh
When I run initial_jetson_setup.sh I'll need to input the following:
- Github username and PAT (I should run the github storing thing beforehand so it remembers these)
Note: I'm not sure if pip installing the requirements.txt file is working correctly, so I might need to
run pip3 install -r requirements.txt manually too.