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

Branch1 #2

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@

# RaspberryPiServer

Use low-cost **Raspberry Pi** computers as a receiver for special commands from [Pocket Code](http://www.catrobat.org).

The aim of this sub-project is to allow Pocket Code to control a RaspberryPi remotely in order to enable children and novices to acquire knowledge and arouse interest in both programming and electronics. Features of the RaspberryPi can be accessed without having to write code on a RaspberryPi - all important features are accessible via special bricks within Pocket Code.
## Installation
Instructions for installing and using a Raspberry Pi with Pocket Code can be cound at [catrob.at/RaspberryPi](https://catrob.at/RaspberryPi). But in a nutshell:
Installer will set RaspberInoServer to run on start up.
1. Download installer, download will save installer script to the current directory.

``wget https://raw.githubusercontent.com/Catrobat/RaspberinoServer/master/installer/install-raspberino.sh -O install-raspberino.sh``

2. run installer as root.

1. Download installer
``wget http://catrob.at/installraspberino -O install-raspberino.sh``
2. run installer as root
`` sudo sh install-raspberino.sh``

# License #
Expand Down
4 changes: 3 additions & 1 deletion installer/install-raspberino.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ mkdir -p /etc/RaspberIno
echo "port=10000" > /etc/RaspberIno/config.cfg

# download init.d script
wget https://raw.githubusercontent.com/Catrobat/RaspberinoServer/master/installer/RaspberinoServer -O /etc/init.d/RaspberinoServer
wget https://raw.githubusercontent.com/Catrobat/RaspberinoServer/master/installer/RaspberinoServer -O /etc/init.d/RaspberInoServer
# change file permissions
chmod 755 /etc/init.d/RaspberInoServer

# add to startup
update-rc.d RaspberInoServer defaults
Expand Down