First commit - es tut schon mal ganz gut

This commit is contained in:
2026-02-27 12:35:29 +00:00
commit 53124c1c78
27 changed files with 8403 additions and 0 deletions

42
setup.sh Executable file
View File

@@ -0,0 +1,42 @@
#!/bin/bash
# Ausgaben-Next Setup Script
echo "==================================="
echo "Ausgaben-Next Setup"
echo "==================================="
echo ""
# Check if .env exists
if [ ! -f ".env" ]; then
echo "Creating .env file from template..."
cp .env.example .env
echo "✓ .env created. Please edit it with your database credentials!"
echo ""
fi
# Install dependencies
echo "Installing dependencies..."
npm install
echo "✓ Dependencies installed"
echo ""
# Build the project
echo "Building project..."
npm run build
echo "✓ Build complete"
echo ""
echo "==================================="
echo "Setup complete!"
echo "==================================="
echo ""
echo "To start the development server:"
echo " npm run dev"
echo ""
echo "To start the production server:"
echo " npm start"
echo ""
echo "To build for Docker:"
echo " docker-compose -f docker-compose.local.yml up -d"
echo ""