Add setenv.gfsh Gfsh shell script to setup the system environment to run the example app.

This commit is contained in:
John Blum
2019-04-22 23:40:52 -07:00
parent 57a1ea4840
commit 4f52e19acd
3 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
# Gfsh shell script to set the environment
set variable --name=SBDG_HOME --value=/Users/jblum/pivdev/spring-boot-data-geode
echo --string=${SBDG_HOME}

View File

@@ -1,3 +1,3 @@
#!/bin/bash
gfsh -e "run --file=/Users/jblum/pivdev/spring-boot-data-geode/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/start-simple-cluster.gfsh"
gfsh -e "run --file=${SBDG_HOME}/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/start-simple-cluster.gfsh"

View File

@@ -1,3 +1,3 @@
#!/bin/bash
gfsh -e "run --file=/Users/jblum/pivdev/spring-boot-data-geode/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/stop-cluster.gfsh"
gfsh -e "run --file=${SBDG_HOME}/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/stop-cluster.gfsh"