This repo is for MyToysRHacked project to control the remote car

Ubuntu c19838bafa Update readme and add code snippet 5 years atrás
server c19838bafa Update readme and add code snippet 5 years atrás
.gitignore b5207cd72b Initial commit 5 years atrás
LICENSE b5207cd72b Initial commit 5 years atrás
README.md c19838bafa Update readme and add code snippet 5 years atrás
p.py 998807c960 first commit 5 years atrás
websocketd 998807c960 first commit 5 years atrás

README.md

RoboCar

This repo is for MyToysRHacked project to control the remote car

Installation

ssh to the pi

sudo mkdir /opt/RoboCar
sudo chown $USER:$GROUP /opt/RoboCar
git clone https://git.gilgoldman.com/Eran/RoboCar.git /opt/RoboCar/
chmod +x /opt/RoboCar/server/websocketd
chmod +x /opt/RoboCar/server/socketScript.py
echo "@reboot /opt/RoboCar/server/websocketd --port=8080 /opt/RoboCar/server/socketScript.py" >> /tmp/cron.install
crontab /tmp/cron.install
sudo apt install nginx
sudo mkdir /var/www/RoboCar
sudo chown $USER:$GROUP /var/www/RoboCar/
sudo sed -i 's/www\/html/www\/RoboCar/g' /etc/nginx/sites-available/default
sudo service nginx restart