Skip to content

feat: add server deployment script#1

Open
johnx25bd wants to merge 4 commits intoethglobal-ba-2025from
feature/deploy-script
Open

feat: add server deployment script#1
johnx25bd wants to merge 4 commits intoethglobal-ba-2025from
feature/deploy-script

Conversation

@johnx25bd
Copy link
Member

Summary

Adds scripts/deploy.sh for one-command deployment to fresh Ubuntu 22.04/24.04 servers.

Features

  • Pre-flight checks (OS, sudo, internet connectivity)
  • Safe UFW firewall config (SSH allowed before enabling)
  • Docker + Docker Compose installation
  • Claude Code installation
  • Environment file setup from templates
  • Systemd service for auto-start on boot
  • Idempotent (safe to run multiple times)

Usage

ssh user@server
git clone https://github.com/DecentralizedGeo/armiarma.git
cd armiarma && ./scripts/deploy.sh

Test plan

  • Test on fresh Ubuntu 24.04 server
  • Verify firewall doesn't lock out SSH
  • Verify all 4 crawlers start (Ethereum, Polygon, Filecoin, Celo)
  • Verify Grafana/Prometheus accessible via SSH tunnel

Adds scripts/deploy.sh for one-command deployment to fresh Ubuntu servers.

Features:
- Pre-flight checks (OS, sudo, internet)
- Safe UFW firewall config (SSH allowed first)
- Docker installation
- Claude Code installation
- Environment file setup from templates
- Systemd service for auto-start on boot
- Idempotent (safe to run multiple times)

Usage:
  git clone https://github.com/DecentralizedGeo/armiarma.git
  cd armiarma && ./scripts/deploy.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant