DexterInd / GoPiGo

The GoPiGo Robot for Raspberry Pi
338 stars 190 forks source link

feature - make easy installation of the robot #307

Closed RobertLucian closed 6 years ago

RobertLucian commented 6 years ago

Again, this one has been tested thoroughly on mine machine it worked fine. There are a couple of more tests I want to run and @mattallen37 you can give it a spin and see how it handles.

It's backwards compatible and it runs fine on a fresh image of Lite Stretch.

Added to this PR you can also see the documentation on how to install the robot. This documentation can be found in Setup/README.md.

There are still some things to consider about the old R4R (key: permissions). This is to be ignored by anyone except me.


Installing

You need internet access for the following step(s).

The quickest way for installing the GoPiGo is to enter the following command:

curl -kL dexterindustries.com/update_gopigo | bash

By default, the GoPiGo package is installed system-wide and script_tools is completely updated each time the script is ran.

An example using options appended to the command can be:

curl -kL dexterindustries.com/update_gopigo | bash -s  -- --user-local --no-update-aptget --no-dependencies

Command Options

The options that can be appended to this command are:

Important to remember is that --user-local, --env-local and --system-wide options are all mutually-exclusive - they cannot be used together. As a last thing, different versions of it can be pulled by appending a corresponding branch name or tag.

RobertLucian commented 6 years ago

Continued with #308 .