all must be on your path
- fbi
- dropbox_uploader (with access token)
- imagemagick
- exiftran
- Image with new Raspberry Pi OS
- Activate ssh and an initial wi-fi config by making a file named ssh and a
wpa_supplicant.conf
on/boot
while mounted to the imaging computer - Boot up and log into pi (
username: pi
,password: raspberry
) - Change password (
passwd
) - Open
sudo raspi-config
- Set nice hostname (e.g.
myframe
) - Set timezone to your timezone
- Set auto-login enabled
- Set wait for network at boot
- Set nice hostname (e.g.
- Add a cronjob to reboot nightly
sudo crontab -e # m h dom mon dow command 0 3 * * * shutdown -r now
- Install dependencies:
sudo apt-get install fbi imagemagick exiftran git clone https://github.com/andreafabrizi/Dropbox-Uploader.git ~/Dropbox-Uploader
- Run initial setup and follow instructions to link to Dropbox account.
dropbox_uploader.sh link
- Clone this repository onto the device
git clone https://github.com/whataberk/framepy.git ~/framepy
- Set up .bash_profile according to example
After some work, I don't really recommend Docker for this.
This is pretty much a one-trick-pony pi setup and it'd probably make more sense to codify the above as a setup shell script than tax a Pi with running Docker.
If you do want to use Docker, though, then if you are using default 'pi' user just copy .env-example
to .env
and hopefully it should work as expected.