Heroku + Dropbox + your pictures = ❤️
- A dropbox account
- Nice pictures to show
- Create a new dropbox app
- Get the token
Use the token generated in the dropbox part in setup
This will clean the cache when you add new pictures or moments to your dropbox folder. You can do it manually via the settings of your app on heroku also but this is the recommended way.
- Get
FLUSH_TOKENvia$ heroku config - Fill the
Webhook URIsfield withhttp://[YOUR_APP].herokuapp.com/cache/flush?t=[FLUSH_TOKEN]
- Go to
[DROPBOX_FOLDER]/Apps/[THE_APP_CREATED_IN_DROPBOX] - Create folder for new moments you want to share.
- Add a cover picture by naming a picture
_coverand any extension you want. - Want password protection? Add a
password.txtfile. Content is the password. - Add pictures to the folder.
- Enjoy!
DROPBOX_TOKEN=INSERT_TOKEN bin/setup
foreman start
open localhost:5000