An open API service indexing awesome lists of open source software.

https://github.com/kenken64/javassfsol


https://github.com/kenken64/javassfsol

Last synced: about 2 months ago
JSON representation

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-cache

org.springframework.boot
spring-boot-starter-data-redis

redis.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 *

```