spb/worthdoing Public
Autonomous investigation agent that discovers, challenges, and ranks things genuinely worth doing — Claude + Firecrawl, Next.js 16, PostgreSQL
TypeScript 91.5%
SQL 5.8%
CSS 2.2%
1#!/usr/bin/env bash2# WorthDoing.ai3# Author: Simon-Pierre Boucher4# Contact: contact@spboucher.ai5# File: deploy/start.sh6# Description: Production start script for node m3u96a — build, migrate, launch on port 3001 (PM2-friendly).7set -euo pipefail89cd "$(dirname "$0")/.."1011if [ ! -f .env ]; then12 echo "Missing .env — copy .env.example and fill in secrets." >&213 exit 114fi1516set -a17# shellcheck disable=SC109118source .env19set +a2021corepack enable >/dev/null 2>&1 || true22pnpm install --frozen-lockfile23pnpm drizzle-kit migrate24pnpm build2526exec pnpm start27