Skip to content

apacheservices68/serveless_img_onthefly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTO Resize

Requirement

  • Golang 1.11.2
  • libvips 8.6.5

Usage options

  • Scale with profile: /<project>/i/<profile>/<year>/<month>/<day>/<image>
  • Origin: /<project>/r/<year>/<month>/<day>/<image>

Install

  • Install libvips before build:
    ./preinstall.sh

Or with Centos 7 yum install libvips-devel-8.6.5

  • Install dependencies Go
    dep ensure -update

Build

    make build

Testing

    make test

Deploy

    make build
    make deploy

Benchmark

    ./benchmark.sh

Or

    make benchmark

Docker Usage

  • Build
    docker build -t youname/resize .
    docker-compose -f docker-compose-build.yml up
  • Run
    docker-compose up -d

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published