RPRC Installation Instructions
First, register a new account at rprc.saisols.com
When entering your email and password, click the
Create Account checkbox. This will show a password confirmation
input and will create an account. After your account is created you will be logged in. You will get an account
confirmation email each time you login until you confirm your email.
Unconfirmed accounts will be deleted after a few days, so confirm your email after you register.
Once you are registered, you need to setup the software that runs on your RPi device to connect to the comm server.
Raspberry Pi Prerequisites
root to your RPi device.
You can run this software as a non-root user if you know how to setup GPIO pin access as a non-root user. This is beyond the scope of this guide, so we are assuming you are running as root.
- Install Git and Python requirements by running:
apt-get -y install git python3 python3-pip python3-virtualenv
Verify git is installed by running
git --version, you should see something like:
git version 2.7.4
- Setup virtual Python environment:
virtualenv --python=/usr/bin/python3 ~/virtual-python3
- Check out the code and change into the project directory:
git clone https://github.com/mikebski/com.saisols.rprc.git && cd com.saisols.rprc
auth.example.jsonand put your username and password in for your account
Copy the example file to the correct location:
`mkdir /etc/rprc && cp auth.example.json /etc/rprc/auth.json'
- Install the dependencies with PIP:
. ~/virtual-python3/bin/activate && pip install -r requirements.txt
- Start the app:
. ~/virtual-python3/bin/activate && python rpi/app.py
This will run the app in the foreground and the app will stop when you logout. There are many ways to run this as a service, but this should get you up and running.
Now, go login to the web based tool at rprc.saisols.com and you sould see your Pi's serial number.