Fix vite start command and rename deploy script
This commit is contained in:
@@ -11,7 +11,16 @@ dotnet publish "$REPO_DIR/api/App/App.csproj" \
|
||||
-c Release \
|
||||
-o "$REPO_DIR/api/publish"
|
||||
|
||||
echo "==> Restarting service..."
|
||||
echo "==> Restarting API service..."
|
||||
sudo systemctl restart klapi-api
|
||||
|
||||
echo "==> Installing UI dependencies..."
|
||||
cd "$REPO_DIR/ui" && bun install --frozen-lockfile
|
||||
|
||||
echo "==> Building UI..."
|
||||
bun run build
|
||||
|
||||
echo "==> Restarting UI process..."
|
||||
pm2 restart klapi-ui
|
||||
|
||||
echo "==> Done."
|
||||
Reference in New Issue
Block a user