https://github.com/pine/translatebot
:abcd: Automatic translation bot for learning English.
https://github.com/pine/translatebot
Last synced: 4 months ago
JSON representation
:abcd: Automatic translation bot for learning English.
- Host: GitHub
- URL: https://github.com/pine/translatebot
- Owner: pine
- Created: 2019-10-30T15:42:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T07:00:28.000Z (about 4 years ago)
- Last Synced: 2025-02-10T04:18:39.438Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 263 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# translatebot
:abcd: Automatic translation bot for learning English
## Requirements
- Java 11 or later
- Redis
## Libraries
- Spring Boot 2.x
### Deployment
```sh
$ heroku apps:create your-app
$ heroku config:set SPRING_PROFILES_ACTIVE=prod
$ heroku config:set TZ=Asia/Tokyo
$ heroku config:set 'JAVA_OPTS=-Xmx200m -XX:+UseCompressedOops -XX:+UseStringDeduplication -XX:-OmitStackTraceInFastThrow -Dlog4j2.formatMsgNoLookups=true'
# Setup Redis
$ heroku addons:create heroku-redis:hobby-dev
# Deploy JAR file
$ ./gradlew build
$ heroku plugins:install java
$ heroku deploy:jar --jar app/build/libs/app.jar --jdk 11
```
## License
MIT © Pine Mizune