A flask web app and dashboard for automatically scaling photos
Go to file
Trent Palmer ca9e10e5c2 update README 2021-01-08 14:56:54 -08:00
app initial commit 2021-01-08 14:22:28 -08:00
css initial commit 2021-01-08 14:22:28 -08:00
js initial commit 2021-01-08 14:22:28 -08:00
.env initial commit 2021-01-08 14:22:28 -08:00
LICENSE initial commit 2021-01-08 14:22:28 -08:00
README.md update README 2021-01-08 14:56:54 -08:00
config.py initial commit 2021-01-08 14:22:28 -08:00
deploy_photo_app.bash.example add example deploy script 2021-01-08 14:29:29 -08:00
photo_app.example.com.conf.example add example apache configs 2021-01-08 14:56:40 -08:00
photo_app.py initial commit 2021-01-08 14:22:28 -08:00
photo_app.service.example add example systemd service 2021-01-08 14:32:50 -08:00
photos.example.com.conf add example apache configs 2021-01-08 14:56:40 -08:00

README.md

deploy

works on Debian 10 using only distro python3 packages

apache configs

the example apache configs don't include ssl support, but if you user letsencrypt, cert-bot will automatically create those, (and presumable you would select automatic https redirection when creating the certs)

the photos are served from an entirely separate subdomain outside of the flask app

dns

login to your dns provider and add A and AAAA records for photo_app.example.com

or for LAN testing or deployment, if you are running dnsmasq on your router, you can add something like the following to the /etc/hosts file, and then restart dnsmasq

192.168.X.XXX         photos.example_host  photo_app.example_host