setup.sh 397 B

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