java-tutorials/spring-cloud-cli/groovy.sh

11 lines
277 B
Bash
Raw Normal View History

2019-10-30 18:09:06 -04:00
#!/usr/bin/env bash
echo "Run Groovy Rest API Server"
echo "spring run restapi.groovy"
echo "http://localhost:8080/api/get"
spring run restapi.groovy
echo
echo "Run Groovy Eureka Server"
echo "spring run eureka.groovy"
echo "http://localhost:8761"
spring run eureka.groovy
echo