git clone https://github.com/Accords-Library/img.accords-library.com.git
cd img.accords-library.com
npm installTo install imagemagick, run the following command:
./install.shTo convert all images run: (possibly change the source image folder in the script beforehand)
python3 processAll.pyTo serve the files, run:
./run_img_server.shTo start the api server, create a .env file and add:
TOKEN=SET A KEY TO BE USED FOR AUTH BY THE WEBHOOK
PORT=PORT TO USE WHEN RUNNING THE SERVERThen run:
./run_img_api.sh