Skip to content

Lupino/process-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fc90c6 · Oct 27, 2023

History

60 Commits
May 5, 2022
Oct 27, 2023
Oct 27, 2023
May 2, 2022
Oct 23, 2023
Oct 27, 2023
May 5, 2022
May 2, 2022
Jun 9, 2017
Oct 23, 2023
May 2, 2022
Jun 9, 2017
Oct 23, 2023
Oct 23, 2023
May 5, 2022
Oct 23, 2023
Oct 27, 2023
Oct 23, 2023
Oct 23, 2023

Repository files navigation

process-image

An image process system.

Build

Recommand build process-image with stack

git clone https://github.com/Lupino/process-image.git
cd process-image
mkdir bin
echo 'local-bin-path: bin' >> stack.yaml
stack build
stack install

Build upload-file.go

export GOPATH=`pwd`
cd app
go get -d
go build upload-file.go
mv upload-file ../bin
cd ..

Install periodicd

wget https://github.com/Lupino/haskell-periodic/releases/download/v1.1.4.0/periodic-linux-v1.1.4.0.tar.bz2
cd bin
tar xvf ../periodic-linux-v1.1.4.0.tar.bz2
cd ..

Quick start

./bin/periodicd
./bin/process-image config.yml
./bin/upload-file -bucket youbucket -accessKey youkey -accessID youid

Process an image

periodic submit save icon.png -w @icon.png