gif-stream-server

module
v0.0.0-...-b66b735 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2019 License: MIT

README

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").

License

MIT

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL