pine / emotions

:smile: Change avatar's emotion everyday.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emotions  CircleCI codecov

😄 Change avatar's emotion everyday.


© shihina/123RF.COM

Requirements

  • JDK 17 or later

Libraries

  • Spring Boot 2
  • Spring Batch

Supported services

Development

JDK

For macOS users.

$ brew install --cask temurin17

Gravatar

You should set gravatar.images properties when the app runs.

Please try the following commands after set GRAVATAR_EMAIL, GRAVATAR_PASSWORD environment variables.

$ ./gradlew :tool-gravatar:bootRun

Encrypt credentials with Jasypt

To encrypt plain text with Jasypt, please use the command below.

$ bin/encrypt.sh \
    algorithm=PBEWITHHMACSHA512ANDAES_256 \
    ivGeneratorClassName=org.jasypt.iv.RandomIvGenerator \
    password=<password> \
    input=<input>

Run Spring Batch's job

<job_name> is defined in BatchConfiguration.java.

Using Gradle

$ ./gradlew :app:bootRun --args='--spring.batch.job.names=<job_name>'

Using .jar file

$ ./gradlew :app:bootJar
$ java -jar -jar app/build/libs/app.jar \
    --jasypt.encryptor.password=<password> \
    --spring.batch.job.names=<job_name>

License

MIT © Pine Mizune

About

:smile: Change avatar's emotion everyday.

License:MIT License


Languages

Language:Java 99.6%Language:Dockerfile 0.4%