Skip to content
Server: Take pictures from peoples cameras in intervals, make a .gif, upload it to S3, make a massive collage out of this
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
cmd
public
s3
.editorconfig
.env.example
.gitignore
Procfile
README.md
glide.lock
glide.yaml

README.md

gif-stream-server

A server which awaits webcam image uploads from gif-stream clients to generate .gifs and upload them to an AWS S3 bucket. Can be used together with HOFFNUNG 3000.

Requirements

  • Go environment
  • AWS S3 instance

Setup via Heroku

  1. Make sure to set the GO_INSTALL_PACKAGE_SPEC variable to ./cmd/... to make sure Heroku builds both separate binaries.

    heroku config:set GO_INSTALL_PACKAGE_SPEC=./cmd/...
    
  2. Configure the following environmental variables:

    AWS_REGION=eu-central-1
    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_BUCKET_NAME=
    
  3. Install the Heroku Scheduler Add On and put up a job which executes worker every 10 minutes.

  4. Activate both Dynos web and worker (put them to "ON" under "Configure Dynos").

You can’t perform that action at this time.