MCBDSHost - Professional Minecraft Bedrock Server Management

Downloads Removed GitHub

Troubleshooting deployment-packages/DOWNLOADS-REMOVED-GITHUB.md

Downloads Removed - GitHub Integration Complete

Summary

Downloads have been removed from the Marketing site and replaced with GitHub repository clone instructions.


Changes Made

1. GetStarted.razor - Updated Download Section

Changed From: Local ZIP file downloads
Changed To: GitHub repository clone instructions

New Download Section:

  • Displays GitHub clone command
  • Links to GitHub repository
  • Provides "View on GitHub" button

2. Installation Instructions Updated

Windows Deployment (Step 3):

# Clone repository
git clone https://github.com/JoshuaBylotas/MCBDSHost.git
cd MCBDSHost

# Create directory for deployment
New-Item -Path "C:\MCBDSHost" -ItemType Directory -Force
Copy-Item -Path "docker-compose.windows.yml" -Destination "C:\MCBDSHost\"
Set-Location "C:\MCBDSHost"

Linux Deployment (Step 2):

# Clone repository
git clone https://github.com/JoshuaBylotas/MCBDSHost.git
cd MCBDSHost

# Copy deployment files
sudo mkdir -p /opt/mcbdshost
sudo cp docker-compose.linux.yml /opt/mcbdshost/
cd /opt/mcbdshost

3. MCBDS.Marketing.csproj - Removed Downloads Reference

  • Removed <Content Update="wwwroot\downloads\**"> section
  • Only keeping sitemap.xml and robots.txt content items

4. web.config - Removed ZIP MIME Type

  • Removed <mimeMap fileExtension=".zip" mimeType="application/zip" />
  • No longer needed since we're not serving ZIP files

5. File System Cleanup

Deleted:

  • MCBDS.Marketing/wwwroot/downloads/ folder (and all contents)
  • deployment-packages/windows-package/ folder
  • deployment-packages/linux-package/ folder
  • deployment-packages/create-download-packages.ps1
  • deployment-packages/deploy-marketing-with-downloads.ps1

Benefits of GitHub Approach

Advantages

  1. Always up-to-date - Users get latest code directly from GitHub
  2. No hosting overhead - No need to maintain ZIP packages
  3. Version control - Users can checkout specific releases/tags
  4. Better for contributors - Easier for open source contributions
  5. Simpler deployment - No need to regenerate packages
  6. Full transparency - Users see all source code and history

User Experience

  1. Visit website
  2. Clone repository from GitHub
  3. Copy docker-compose files to deployment directory
  4. Download Minecraft server separately
  5. Run Docker Compose
  6. Access Web UI

GitHub Repository

URL: https://github.com/JoshuaBylotas/MCBDSHost

Users can:

  • Clone the repository
  • View all source code
  • Check releases and tags
  • Report issues
  • Contribute via pull requests
  • Star the repository

Updated Deployment Flow

For Windows:

  1. Install prerequisites (Hyper-V, Containers, Docker)
  2. Install Docker Desktop
  3. Clone GitHub repository (new)
  4. Copy docker-compose.windows.yml to C:\MCBDSHost
  5. Download Minecraft Bedrock Server
  6. Configure firewall
  7. Start services with Docker Compose

For Linux:

  1. Install Docker
  2. Clone GitHub repository (new)
  3. Copy docker-compose.linux.yml to /opt/mcbdshost
  4. Download Minecraft Bedrock Server
  5. Configure firewall
  6. Start services with Docker Compose

What Users Get

From GitHub Repository:

  • Complete source code
  • Docker Compose files (Windows & Linux)
  • Dockerfiles for all services
  • Documentation
  • README files
  • License information

What They Still Download Separately:

  • Minecraft Bedrock Dedicated Server from official Minecraft website
    • This is required and cannot be redistributed
    • Clear instructions provided

Build Status

Build successful
Downloads removed
GitHub integration complete
Ready to deploy


Deployment

Deploy the updated Marketing site:

cd MCBDS.Marketing
dotnet publish -c Release -o bin\Release\net10.0\publish
Copy-Item -Path "bin\Release\net10.0\publish\*" -Destination "C:\inetpub\wwwroot\mc-bds-marketing\" -Recurse -Force
iisreset

Verification

After deployment, verify:

  1. Get Started Page: https://www.mc-bds.com/get-started

    • Should show GitHub clone instructions
    • Should have "View on GitHub" button
    • No ZIP download links
  2. GitHub Link: Should open https://github.com/JoshuaBylotas/MCBDSHost

  3. No 404 Errors:

    • /downloads/mcbdshost-windows.zip should not exist (expected)
    • /downloads/mcbdshost-linux.zip should not exist (expected)

Files Modified

File Change
GetStarted.razor Replaced downloads with GitHub clone
MCBDS.Marketing.csproj Removed downloads folder reference
web.config Removed .zip MIME type

Files Deleted

File/Folder Reason
wwwroot/downloads/ No longer hosting downloads
deployment-packages/windows-package/ Not needed
deployment-packages/linux-package/ Not needed
create-download-packages.ps1 Not needed
deploy-marketing-with-downloads.ps1 Not needed

Documentation Updates Needed

Consider updating these docs (if they reference downloads):

  • DOWNLOADS-IMPLEMENTATION.md - Mark as obsolete
  • DOWNLOADS-QUICK-FIX.md - Mark as obsolete
  • Any other docs mentioning /downloads/ URLs

Status: COMPLETE - READY FOR DEPLOYMENT

Updated: December 30, 2024
Approach: GitHub Repository Clone
Previous: Local ZIP Downloads

Support MCBDSHost Development

Help us continue developing and improving MCBDSHost. Your support makes a difference!