🗃️ Committing everything that changed 🗃️

applications/
configs/
lists/
wwwroot/
This commit is contained in:
casjay
2023-08-22 17:53:03 -04:00
parent 13eaf166f5
commit 5eb3ff1598
265 changed files with 48486 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
EXEC_CMD_BIN="bun" # command to execute
EXEC_CMD_ARGS="dev $DATA_DIR/index.ts" # command arguments
# define commands
[ -d "$DATA_DIR" ] && cd "$DATA_DIR" || exit 1
if [ -n "$START_SCRIPT" ]; then
RUN_SCRIPT="$START_SCRIPT"
elif [ -f "./src/index.ts" ]; then
RUN_SCRIPT="./index.ts"
elif [ -f "./index.ts" ]; then
RUN_SCRIPT="./index.ts"
elif [ -f "./app.ts" ]; then
RUN_SCRIPT="./app.ts"
elif [ -f "./server.ts" ]; then
RUN_SCRIPT="./server.ts"
fi
# Run bun install
__exec_command $EXEC_CMD_BIN install
EXEC_CMD_ARGS="dev $RUN_SCRIPT"

View File

@@ -0,0 +1,7 @@
curl -q -fsSL "https://bun.sh/install" | bash &&
ln -sf /usr/local/share/bun/bin/bun /usr/local/bin &&
mkdir -p "${DEFAULT_DATA_DIR}/htdocs/www" &&
git clone "https://github.com/casjay-templates/bunjs" "${DEFAULT_DATA_DIR}/htdocs/www/" &&
rm -Rf ${DEFAULT_DATA_DIR}/htdocs/www/.git &&
cd "${DEFAULT_DATA_DIR}/htdocs/www" &&
/usr/local/bin/bun install

View File