run_yesod_postgres.sh 232 B

123456789
  1. #!/bin/bash
  2. fw_depends postgresql stack
  3. cd yesod-postgres
  4. ${IROOT}/stack --allow-different-user build --install-ghc
  5. ${IROOT}/stack --allow-different-user exec yesod-postgres -- ${CPU_COUNT} ${DBHOST} +RTS -A32m -N${CPU_COUNT} &