stashing code
This commit is contained in:
13
scripts/migrate.sh
Executable file
13
scripts/migrate.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
echo "🔄 Migrating Primary DB"
|
||||
|
||||
cd packages/db
|
||||
|
||||
bun run db:migrate
|
||||
|
||||
echo "🔄 Migrating Airports DB"
|
||||
|
||||
cd ../airportsdb
|
||||
|
||||
bun run db:migrate
|
||||
|
||||
cd ../../
|
||||
14
scripts/prod.start.sh
Normal file
14
scripts/prod.start.sh
Normal 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
|
||||
Reference in New Issue
Block a user