& so it begins

This commit is contained in:
user
2026-02-28 14:50:04 +02:00
commit f00381f2b6
536 changed files with 26294 additions and 0 deletions

7
scripts/migrate.sh Executable file
View File

@@ -0,0 +1,7 @@
echo "🔄 Migrating Primary DB"
cd packages/db
bun run db:migrate
cd ../../

15
scripts/populate.env.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# copy over the environment variables from the base /.env file to all other apps & packages in apps/* and packages/*
for dir in apps/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done
for dir in packages/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done

14
scripts/prod.start.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
APP_PATH=$1
if [ -z "$APP_PATH" ]; then
echo "Usage: prod.start.sh <app path>"
exit 1
fi
echo "Starting $APP_PATH"
cd $APP_PATH
bun run prod