Files
evig/tools/development/docker-setup.sh
T
Your NameandClaude 23a94cfbf2 refactor: complete repository organization with senior engineering standards
Major structural improvements for professional open source presentation:

🗂️ **Repository Organization:**
- Organized tools/ directory with deployment/ and development/ subdirectories
- Moved all scripts to appropriate locations (deploy.sh → tools/deployment/)
- Created archive/legacy/ for historical files
- Removed outdated directories (strapi/, backend/, content/, messages/, etc.)

📚 **Documentation Structure:**
- Reorganized docs/ with guides/, reference/, api/, and legacy/ structure
- Created comprehensive docs/README.md with clear navigation
- Added detailed ARCHITECTURE.md explaining Strapi vs Custom CMS decision
- Moved legacy documentation to docs/legacy/ folder

🔧 **Developer Experience:**
- Added professional GitHub issue templates (bug_report.yml, feature_request.yml)
- Enhanced .gitignore with comprehensive patterns for clean repository
- Fixed import issues and development server configuration
- Created proper folder structure for maintainability

✨ **Professional Presentation:**
- Repository now presents as legitimate, well-organized open source project
- Clear separation of concerns in folder structure
- Professional documentation hierarchy
- Ready for new contributor onboarding

This brings the repository to senior engineering standards with clear organization,
comprehensive documentation, and professional development workflow setup.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 16:55:20 +02:00

30 lines
716 B
Bash
Executable File

#!/bin/bash
echo "Setting up Docker environment for Strapi..."
# Stop and remove existing containers
docker-compose down -v
# Remove existing images
docker rmi strapi-app 2>/dev/null || true
# Build and start services
echo "Building and starting services..."
docker-compose up --build -d
# Wait for database to be ready
echo "Waiting for database to be ready..."
sleep 10
# Check if containers are running
echo "Checking container status..."
docker-compose ps
# Show logs
echo "Showing Strapi logs..."
docker-compose logs strapi
echo "Setup complete!"
echo "Strapi should be available at: http://localhost:1337"
echo "Admin panel: http://localhost:1337/admin"
echo "Database is accessible at: localhost:5434"