- Next.js 14 blog application with theme support - Docker containerization with volume bindings - Traefik integration with Let's Encrypt SSL - MDX support for blog posts - Theme toggle with localStorage persistence - Scheduled posts directory structure - Brand guidelines compliance with CHORUS colors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
765 B
Bash
Executable File
30 lines
765 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# CHORUS Blog Development Server
|
|
# Start the Next.js development server for the blog
|
|
|
|
set -e
|
|
|
|
echo "🎵 Starting CHORUS Blog development server..."
|
|
|
|
# Check if we're in the right directory
|
|
if [ ! -f "package.json" ]; then
|
|
echo "❌ Error: package.json not found. Are you in the blog directory?"
|
|
exit 1
|
|
fi
|
|
|
|
# Install dependencies if node_modules doesn't exist
|
|
if [ ! -d "node_modules" ]; then
|
|
echo "📦 Installing dependencies..."
|
|
npm install
|
|
fi
|
|
|
|
# Start the development server
|
|
echo "🚀 Starting Next.js development server on port 3002..."
|
|
echo "📝 Blog will be available at: http://localhost:3002"
|
|
echo "🌍 Production URL will be: https://blog.chorus.services"
|
|
echo ""
|
|
echo "Press Ctrl+C to stop the server"
|
|
echo ""
|
|
|
|
npm run dev |