feat: implement template storage and download functionality with Docker support

This commit is contained in:
2026-01-09 08:07:18 +01:00
parent 661f57cace
commit 97a12a3bcd
9 changed files with 106 additions and 4 deletions

View File

@@ -13,9 +13,15 @@ mkdir -p /app/public/uploads/contracts
mkdir -p /app/public/uploads/projects
mkdir -p /app/public/uploads/tasks
# Ensure templates directory exists
mkdir -p /app/templates
# Set proper permissions for uploads directory
chmod -R 755 /app/public/uploads
# Set proper permissions for templates directory
chmod -R 755 /app/templates
# Create admin account if it doesn't exist
echo "🔧 Setting up admin account..."
node scripts/create-admin.js