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
-
Log into the server via PuTTY
👉 See Vaughn or Tylor for login credentials. -
Navigate to the project directory
Run the following command:cd ~/Cloudy-with-a-Chance-of-LoRa
-
Ensure you're on the
main
branch and pull the latest changesgit checkout main git pull origin main
-
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!