run.sh 327B

1234567891011121314151617
  1. #!/bin/bash
  2. OLD_PATH=`pwd`
  3. POD_BIN_PATH=`dirname $0`
  4. POD_INSTALL_PATH=`dirname ${POD_BIN_PATH}`
  5. POD_INSTALL_FULL_PATH=`realpath ${POD_INSTALL_PATH}`
  6. ROOT_FOLDER=${POD_INSTALL_FULL_PATH}
  7. cd ${ROOT_FOLDER}
  8. source tg2env/bin/activate
  9. cd ${ROOT_FOLDER}/pboard/
  10. gearbox serve -c development.ini --reload --debug
  11. cd ${OLD_PATH}