Deployment 2025 - OtagoPolytechnic/Cloudy-with-a-Chance-of-LoRa GitHub Wiki

🚀 Live Deployment Guide

Once your work has been tested in staging, deploying to the live site is straightforward — as long as you’ve tested with live data early on (⚠️ very important).

✅ Prerequisites

  • Ensure all new changes have been thoroughly tested with live data.
  • Push your final working branch to main.
  • Make sure you are using the correct SSH keys to access the server and applications.

🧭 Deployment Steps

  1. Log into the server via PuTTY
    👉 See Vaughn or Tylor for login credentials.

  2. Navigate to the project directory
    Run the following command:

    cd ~/Cloudy-with-a-Chance-of-LoRa
    
    
  3. Ensure you're on the main branch and pull the latest changes

    git checkout main
    git pull origin main
    
    
  4. Rebuild and restart the application using Docker Compose

    docker-compose up --build -d
    
    

✅ Once these steps are complete, the updated site should be live and running successfully!