setup.sh 380 B

123456789101112131415
  1. #!/bin/bash
  2. WORKING_DIR=beyondj-launcher/deploy
  3. if [ ! -d "$WORKING_DIR" ]; then
  4. mkdir $WORKING_DIR
  5. fi
  6. cd beyondj-launcher/deploy/
  7. fw_get -O http://beyondj.com/beyondj-launcher-1.0-SNAPSHOT.jar
  8. cd ../../
  9. echo "Launching BeyondJ from location:$PWD"
  10. java -jar beyondj-launcher/deploy/beyondj-launcher-1.0-SNAPSHOT.jar system.platform.dbserver=${DBHOST} numInstances=10