✦ atmos web

Deployment

Node.js hosting (recommened)

Use a Node.js host for the secure Met Office warning proxy. Set the start command to npm start and add the values from .env as encrypted environment variables.

Static hosting

GitHub Pages, Netlify, and Cloudflare Pages can serve the dashboard, PWA, and Open-Meteo forecast. They cannot run server.js or store private warning credentials.

GitHub Pages

  1. Open Settings → Pages.
  2. Choose GitHub Actions.
  3. Push to main or run the deployment workflow.

Update a local installation

For a Git clone, pull the latest files, rerun setup, and restart the server:

cd ~/weather-app
git pull origin main
./setup.sh
npm start

The setup script preserves your existing .env. For a ZIP installation, download the newest archive, extract it into a new folder, copy your old .env into it, then run ./setup.sh.