#!/bin/bash set -e # ============================================================================= # officer-setup — the platform, on a machine that is already provisioned # # The second half of the install. machine-setup/ brings a blank box up to a # usable machine; this puts Officer on top of it: dependencies, .env, the # database schema, and the pm2 process list. # # Run: bash scripts/setup/officer-setup.sh # ============================================================================= # # NOT WRITTEN YET. It is being rebuilt from scripts/setup-old/setup.sh, which # still works and is still the one to run. # # This file exists ahead of its contents so that `bun setup` points at where the # installer is going rather than at a path that is about to move again. It fails # loudly rather than sitting empty, because an empty script exits 0 and would # make `bun setup` report success while doing nothing at all. echo "" echo " officer-setup.sh is not written yet." echo "" echo " It is being rebuilt from scripts/setup-old/setup.sh, which still works:" echo "" echo " bash scripts/setup-old/setup.sh # full install" echo " OFFICER_PROFILE=light bash scripts/setup-old/setup.sh # light install" echo "" exit 1