status.health logo status.health logo status.health

Scripts Directory

Scripts Directory

This directory contains utility scripts for the status.health® blog.

local-deploy.sh

A unified script for local development, testing, and deployment preparation.

Usage

./local-deploy.sh [action] [options]

Available Actions

Options

Examples

# Start development server (default action)
./local-deploy.sh

# Run tests
./local-deploy.sh test

# Build and test
./local-deploy.sh build && ./local-deploy.sh test

# Serve on different port
./local-deploy.sh serve -p 5000

# Check configuration
./local-deploy.sh check

# Test newsletter integration (requires NEWSLETTER_WEBHOOK_SECRET env var)
export NEWSLETTER_WEBHOOK_SECRET='your-secret'
./local-deploy.sh newsletter

Other Scripts

Newsletter Testing Scripts

These scripts are used for testing the newsletter webhook integration and can be run independently or through the main local-deploy.sh script.