Switch to Bun runtime and update install scripts
Install Bun during setup and replace npm/npx calls with bun/bunx. Added Bun install (sets BUN_INSTALL, runs bun install script, and symlinks bun and bunx to /usr/local/bin) in install/blinko-install.sh. Updated ct/blinko.sh and install/blinko-install.sh to use `bun install`, `bunx prisma ...`, and `bun run build` instead of npm/npx commands for dependency install, Prisma generate/migrate, and build steps.
This commit is contained in:
@@ -47,9 +47,9 @@ function update_script() {
|
||||
|
||||
msg_info "Updating Application"
|
||||
cd /opt/blinko
|
||||
$STD npm install
|
||||
$STD npx prisma migrate deploy
|
||||
$STD npm run build
|
||||
$STD bun install
|
||||
$STD bunx prisma migrate deploy
|
||||
$STD bun run build
|
||||
msg_ok "Updated Application"
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
Reference in New Issue
Block a user