IEEERobotics / bot

Robot code for 2014.
BSD 2-Clause "Simplified" License
17 stars 10 forks source link

Simplify BeagleBone setup and code deployment using Ansible. #458

Open AhmedSamara opened 8 years ago

AhmedSamara commented 8 years ago

Introduction

Currently writing and runnning code on the BeagleBone involves one of two different methods:

A reasonably robust way to set up the BeagleBone without getting internet access on it.

mynameis7 commented 8 years ago

could we push code to its ip via git? doesnt gits decentralized nature work well with things like this? Git should be able to set up the beaglebone as a remote repository and then you could push and pull to and from it with an additional parameter in the git commands.

There might be more potential for merge conflicts like this, but for commiting and revising code this would work good i think.

For the user's sake, we could make shell or bat scripts for working with git specific to the bot. Currently, the git defaults to the github repo, which should be intended. maybe we could make a bat or shell script to commit and push code to the github repo and the bot.

AhmedSamara commented 8 years ago

We are now using Raspberry pi, but it would be good to have a setup that works on both.

mynameis7 commented 7 years ago

If we setup a git server on the bot (maybe try gitlab community edition https://about.gitlab.com/) then we could add the bot as a remote, so then we can allow pushes directly to the bot when connected over USB or something like that. I'm not sure how PI handles a usb connection, but we could still use some of the spare routers lying around to provide an IP connection I think.