This directory contains all automation scripts and utilities for the IT-Journey platform, organized by function and purpose.
scripts/
βββ README.md # This file
βββ core/ # Core utility scripts
β βββ version-manager.sh # Unified version management
β βββ environment-setup.sh # Environment configuration
βββ development/ # Development tools and utilities
β βββ build/ # Build automation scripts
β βββ content/ # Content processing tools
β βββ testing/ # Testing and CI utilities
βββ deployment/ # Deployment automation
β βββ update-settings.sh # Configuration sync
# Increment patch version across all project files`
./scripts/core/version-manager.sh patch
# Update only markdown frontmatter versions
./scripts/core/version-manager.sh frontmatter
# Preview version changes without applying
./scripts/core/version-manager.sh minor --dry-run
# Auto-detect and setup development environment
./scripts/core/environment-setup.sh
# Interactive setup with prompts
./scripts/core/environment-setup.sh --interactive
# Jekyll-specific setup
./scripts/core/environment-setup.sh --project-type jekyll
# Auto-detect and build for development
./scripts/development/build/build-site.sh
# Production Jekyll build
./scripts/development/build/build-site.sh --type jekyll --env production
# Clean build with development server
./scripts/development/build/build-site.sh --clean --serve
# Update settings and configuration files
./scripts/deployment/update-settings.sh
# With custom paths
SETTINGS_DIR="custom/path" ./scripts/deployment/update-settings.sh
core/
)Essential scripts that provide foundational functionality across all IT-Journey projects.
development/
)Scripts specifically for development workflows and content creation.
development/build/
)development/content/
)development/testing/
)deployment/
)Automation for deploying and maintaining live environments.
legacy/
)Deprecated scripts maintained for reference and migration purposes.
All scripts follow the core IT-Journey development principles:
# 1. Setup environment (first time)
./scripts/core/environment-setup.sh --interactive
# 2. Build and test
./scripts/development/build/build-site.sh --clean --serve
# 3. Update versions when ready
./scripts/core/version-manager.sh patch --auto-commit
# 4. Deploy configuration updates
./scripts/deployment/update-settings.sh
# 1. Version bump for release
./scripts/core/version-manager.sh minor --auto-commit
# 2. Production build
./scripts/development/build/build-site.sh --env production
# 3. Final configuration sync
./scripts/deployment/update-settings.sh
Scripts respect these environment variables when available:
SETTINGS_DIR
: Custom settings directory pathCONFIG_FILE
: Custom configuration file nameJEKYLL_ENV
: Jekyll environment (development/production)NODE_ENV
: Node.js environmentScripts automatically detect project types based on:
_config.yml
and Gemfile
package.json
*.gemspec
Dockerfile
All scripts include dry-run modes for safe testing:
# Test version management without changes
./scripts/core/version-manager.sh major --dry-run
# Preview environment setup
./scripts/core/environment-setup.sh --dry-run
# Validate build configuration
./scripts/development/build/build-site.sh --dry-run
chmod +x scripts/**/*.sh
./scripts/core/environment-setup.sh
./scripts/core/environment-setup.sh --interactive
For more help, check individual script help messages:
./scripts/core/version-manager.sh --help
When adding new scripts:
kebab-case.sh
)chmod +x
)For questions or improvements, please open an issue or contribute via pull request.