/photoShow

A websit to show personal pics.

Primary LanguageJava

PhotoShow

How to run?

  • JDK version: 11
java -version
  • config store root path
store.root.path=/home/test/photo
  • config watermark pic: add a pic as watermark in below path
${store.root.path}/cfg/watermark.png
  • Compile and use it
mvn clean package
cd target
java -jar photoShow-1.0-SNAPSHOT-jar-with-dependencies.jar

how to upload?

curl -F "desc=描述" -F "pics=@${image path}" -F "pics=@${image path}" http://localhost:13319/pic/upload

replace ${image path} with real path of pics.