Commit 5aed0f26 authored by hackEns's avatar hackEns
Browse files

Include system init scripts

parent dffa05ee
......@@ -31,6 +31,7 @@ Jarvis can be easily installed on a Raspberry Pi, starting from an up-to-date Ra
* `jarvis_cmd.py` is a collection of functions to translate Jarvis actions to GPIO actions etc.
* `jarvis.sql` is a SQL file which will allow you to create the necessary tables for Jarvis.
* `Rules` contains a set of scripts for the various Jarvis actions.
* `stream.py` is the script used to handle the cam streaming.
* `STL export` contains 3D models for our setup.
* `stream.py` is the script used to handle the cam streaming.
* `system` contains the scripts necessary to setup Jarvis.
* `updater.sh` is a bash script called to update jarvis.
# Citizenwatt Raspbian cleanup script
# Launch as root
# Remove useless packages
apt-get --yes purge x11-common lxde dillo gnome-icon-theme \
gnome-themes-standard-data libgnome-keyring-common libgnome-keyring0 \
libsoup-gnome2.4-1 lxde-common lxde-icon-theme omxplayer dbus-x11 libx11-6 \
libx11-data libx11-xcb1 desktop-file-utils debian-reference-en \
debian-reference-common java-common
apt-get --yes install mysql-client mysql-server
# Remove unused packets
apt-get --yes autoremove --purge
# Clear APT cache
#apt-get clean
rm -rf /opt/vc /home/pi/Desktop /home/pi/python_games /home/pi/ocr_pi.png
# Do updates
apt-get update && apt-get upgrade
# Citizenwatt Python 3.4 install script
# Launch as root
# Upgrade Raspbian
apt-get update
apt-get --yes upgrade
# Add testing sources
echo "deb http://mirrordirector.raspbian.org/raspbian/ jessie main" > /etc/apt/sources.list.d/jessie.list
# Pinning
echo -e "Package: *\nPin: release a=testing\nPin-Priority: 300" > /etc/apt/preferences.d/jessie.list
# Update
apt-get update
# Install
apt-get -t jessie --yes install python3 gcc python3-pip python3-dev
# Python modules
pip3 install requests irc wiringpi2 mysql-connector-python RPi.GPIO pyserial numpy flake8
# Remove unused packets
apt-get --yes autoremove --purge
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment