RIC

module
v0.0.0-...-4751963 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT

README

RIC

Responsive image cache

Development environment

Vagrant

# update vagrant stuff
./vagrant_up.sh

# start virtual machine
vagrant up

# start RIC server
vagrant ssh

cd /vagrant/server

go build

./do_run.sh

# check that script was run, to detach `ctrl + a` and `d`
screen -list

# shutdown vagrant
./vagrant_down.sh

Docker

# build and start docker container
./up.sh

# shutdown docker container
./down.sh

Test that server returns test images: http://localhost:8005/01.jpg

Accepted RIC query parameters
  • width
  • height
  • mode: fit, liquid, crop
  • format: All that imagemagic supports
  • watermark: text
  • url: webroot url

Directories

Path Synopsis
ops

Jump to

Keyboard shortcuts

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