raspberry controll center
### install git
sudo apt-get install git
### install python requirements
sudo easy_install flask gunicorn pip
sudo pip install flickrapi
### check out the source code
git clone https://github.com/marcopashkov/rctrl.git
The python flickrapi seems to have been discontinued, so I have forked the git it here.
fill in your api key
, api secret
and api token
. Here you can find your api key
and api secret. For the access token please follow the official API guide or
use e.g. an online tool.
echo "api_key = '<api key>'" > flickr_credentials.py
echo "api_secret = '<api secret>'" >> flickr_credentials.py
echo "token = '<api-token>'" >> flickr_credentials.py
for debugging
python server.py
for production - fill in your ip address
gunicorn server:app --bind <ip address>:80 --workers 2 --timeout 60