Name Mode Size
scripts 040000
src 040000
.gitignore 100644 0 kb
LICENSE 100644 34 kb
MANIFEST.in 100644 0 kb
README.md 100644 2 kb
requirements-bbb.txt 100644 0 kb
requirements.txt 100644 0 kb
run 100644 1 kb
setup.py 100644 1 kb
README.md
About SilverServer ================== SilverServer provides a responsive web interface for controlling and oporating a smart mirror, use your android app or web browser to change how your mirror looks and feels. It's a one stop shop for the morning grind. Showing you things that you care about, your twitter feed, weather, facebook, google calendars, todo lists, and many more options. Installation ------------ Install git and python `sudo apt-get install python-pip python-dev git` Git the repo `git clone https://github.com/benbeezy/silverserver.git` Go into the silverserver directory `cd silverserver` If "run" is not green then do this `sudo chmod +x run` Install the requirements `sudo pip install -r requirements.txt` Set up run on start in background --------------------------------- `sudo nano /etc/rc.local` Add the following line starting with sudo this will run it as the pi user and start it in the background `sudo -u pi /home/pi/silverserver/run --daemon start &` Then reboot with `sudo reboot` If you want to auto login ------------------------- `sudo nano /etc/inittab` Scroll down to: `1:2345:respawn:/sbin/getty 115200 tty1` and add the # changing it to `#1:2345:respawn:/sbin/getty 115200 tty1` Under that line add: `1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1` Ctrl+X to exit, Y to save followed by enter twice If you don't start on boot -------------------------- If you don't have it start on boot, once you login, type `cd silverserver/` Then this to start it `./run` or to run in background just run `/silverserver/run --daemon start &` Configuration ------------- Last of all, you need to see what your pi is working on, so you need to get your IP: `ifconfig` Then take your IP and enter it in the android app (soon to be made) or in your we browser, like so: `0.0.0.0:8080`