- Go environment
- AWS S3 instance
Setup via Heroku
Make sure to set the
./cmd/...to make sure Heroku builds both separate binaries.
heroku config:set GO_INSTALL_PACKAGE_SPEC=./cmd/...
Configure the following environmental variables:
AWS_REGION=eu-central-1 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_BUCKET_NAME=
Heroku SchedulerAdd On and put up a job which executes
workerevery 10 minutes.
Activate both Dynos
worker(put them to "ON" under "Configure Dynos").