https://github.com/kenken64/javassfsol
https://github.com/kenken64/javassfsol
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kenken64/javassfsol
- Owner: kenken64
- Created: 2022-01-03T05:55:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-02T17:58:43.000Z (over 2 years ago)
- Last Synced: 2025-04-24T03:39:38.564Z (about 2 months ago)
- Language: Java
- Size: 519 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Workshop 11
- Run the spring boot app using `./mvnw spring-boot:run`
- `./mvnw spring-boot:run -Dspring-boot.run.arguments=--port=8081`
- `sudo snap install --classic heroku`
- Login to heroku `heroku login````
git init
git add .
git commit -m "first commit"
heroku create
git push heroku master
```## Workshop 12
- Run the spring boot app using `./mvnw spring-boot:run`
- Login to heroku `heroku login````
git init
git add .
git commit -m "first commit"
heroku create
git push heroku master
```## Workshop 13
- Run the spring boot app using `./mvnw spring-boot:run -Dspring-boot.run.arguments=--dataDir=/opt/tmp/data`
- Add this entry to the pom.xml```
org.springframework.boot
spring-boot-starter-test
test```
- Run ./mvnw package to run test cases.
## Workshop 14
- Run the spring boot app using `./mvnw spring-boot:run`
- Add this entry to the pom.xml for redis data persistency```
org.springframework.boot
spring-boot-starter-cacheorg.springframework.boot
spring-boot-starter-data-redisredis.clients
jedis```
- Run ./mvnw package to run test cases
- Connect to the redis cloud service```
$ redis-cli -h redis-19763.c252.ap-southeast-1-1.ec2.cloud.redislabs.com -p 19763 -a dEnC2q43NOxxghtlcWxI56n3aS8lRZw1$ redis-19763.c252.ap-southeast-1-1.ec2.cloud.redislabs.com:19763> keys *
```