Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI installation script #6

Open
guilhermefpv opened this issue May 12, 2021 · 2 comments
Open

RPI installation script #6

guilhermefpv opened this issue May 12, 2021 · 2 comments

Comments

@guilhermefpv
Copy link

RPI installation script
`
function install {

sudo apt-get install -y ffmpeg curl
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs git
git clone https://github.com/fpv-wtf/voc-poc.git
cp -r voc-poc/* $targetdir/ # voc-poc expects /home/pi/index.js
sudo apt-get install -y libudev-dev
cd $targetdir/
npm install

start

}

`

@mavericm1
Copy link
Contributor

mavericm1 commented May 12, 2021

Can you test this if it works ok i'll add a PR to pull this into their code. Testing in a container without goggles attached makes it difficult for me to understand if the module load errors is because of the npm install path or because the module doesn't have a usb device to use.

https://github.com/mavericm1/voc-poc/raw/master/install-scripts/pi.sh

@guilhermefpv
Copy link
Author

Add CD Path before installing packages with npm

yes i tested it and it's working on Hardware RPI 3b Model B v1.2

cd $targetdir/ npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants