2020-08-17 13:39:36 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-01-27 15:00:42 +01:00
|
|
|
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot"
|
|
|
|
# export PENPOT_DATABASE_USERNAME="penpot"
|
|
|
|
# export PENPOT_DATABASE_PASSWORD="penpot"
|
|
|
|
# export PENPOT_DATABASE_READONLY=true
|
|
|
|
|
|
|
|
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot_pre"
|
|
|
|
# export PENPOT_DATABASE_USERNAME="penpot_pre"
|
|
|
|
# export PENPOT_DATABASE_PASSWORD="penpot_pre"
|
|
|
|
# export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS"
|
2021-01-29 11:00:54 +01:00
|
|
|
|
2021-12-22 11:33:53 +01:00
|
|
|
export OPTIONS="
|
2022-01-27 15:00:42 +01:00
|
|
|
-A:dev \
|
2021-12-22 11:33:53 +01:00
|
|
|
-J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \
|
|
|
|
-J-Dlog4j2.configurationFile=log4j2-devenv.xml \
|
2021-12-28 00:04:58 +01:00
|
|
|
-J-XX:+UseZGC \
|
2021-12-22 11:33:53 +01:00
|
|
|
-J-XX:-OmitStackTraceInFastThrow \
|
2022-01-18 16:57:01 +01:00
|
|
|
-J-Xms50m -J-Xmx1024m \
|
2022-01-12 20:23:25 +01:00
|
|
|
-J-Djdk.attach.allowAttachSelf \
|
|
|
|
-J-XX:+UnlockDiagnosticVMOptions \
|
|
|
|
-J-XX:+DebugNonSafepoints";
|
|
|
|
|
2021-02-15 13:14:05 +01:00
|
|
|
export OPTIONS_EVAL="nil"
|
|
|
|
# export OPTIONS_EVAL="(set! *warn-on-reflection* true)"
|
|
|
|
|
2021-01-29 11:00:54 +01:00
|
|
|
set -ex
|
2021-02-15 13:14:05 +01:00
|
|
|
exec clojure $OPTIONS -M -e "$OPTIONS_EVAL" -m rebel-readline.main
|