This repo is mostly written by GPT-4 (under my instruction).
- install dependencies:
npm install
oryarn
- if package
sharp
hard to install due to network condition - set:
npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp"
npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"
- then
npm install
oryarn
- if package
- development/debugging/feature adding:
npm run dev
oryarn dev
- deployment
- Put SSL key
(xxx.pem, xxx.key)
under./keys
npm run start
oryarn start
- Put SSL key
Recommend: Use pm2
- Automatic
uploads
/keys
/logs
folder creation - Upload multiple images at once
- Uploading folder backup
- Maybe add a standalone upload button in image_list page