Skip to main content

Deployment

This documentation covers the branch structure and deployment setup for the portfolio application.

Overview​

The portfolio application uses different branches to serve multiple versions of the site, including the current version and a classic version for backward compatibility.

Branch Structure​

Main Branch​

  • Purpose: Current production version
  • Deployment: https://qwertuhh.netlify.app
  • Content: Latest portfolio version with all features
  • Status: Active development and updates

Dev Branch​

  • Purpose: Development version
  • Deployment: Merge to main branch to deploy on https://qwertuhh.netlify.app
  • Content: Latest portfolio version with all features
  • Status: Active development and updates

Classic Branch​

Development Workflow​

Branch Management​

  1. Main Branch: Contains the current portfolio version

    • Latest features and updates
    • Modern design and interactions
    • Active development
  2. Classic Branch: Maintains the old portfolio version

    • Original design and functionality
    • Served separately for compatibility
    • No new features added

Version Control​

Accessing Different Versions​

Current Version​

Classic Version​

Development Setup​

Local Development​

  • Environment: Bun
  • Build Tool: Vite
  • Command: bun run dev
  • Port: Typically 5173

Branch Checkout​

# Current version
git checkout main

# Classic version
git checkout classic

This deployment structure ensures both the current and classic versions of the portfolio remain accessible, with the classic version serving as a stable reference while development continues on the main branch.