Skip to content

feat(install): Add arch-specific install scripts and docs for systemd setup#7

Merged
PDJ107 merged 4 commits intomainfrom
feat/install-script
Aug 21, 2025
Merged

feat(install): Add arch-specific install scripts and docs for systemd setup#7
PDJ107 merged 4 commits intomainfrom
feat/install-script

Conversation

@PDJ107
Copy link
Collaborator

@PDJ107 PDJ107 commented Aug 20, 2025

Summary

Add minimal installation scripts for amd64 and arm64 that download a GitHub
release tarball, install the binary, create a systemd unit, and start the service.
Include README docs for install environment variable.

Changes

  • scripts/install_amd64.sh, scripts/install_arm64.sh
  • README: quick start, env vars, service management guide

How to Test

  1. On amd64 (or arm64) host:
    chmod +x scripts/install_amd64.sh
    sudo MORPHER_CONTROLLER_IP=<controller-ip> ./scripts/install_amd64.sh
  2. Verify:
    systemctl status morpher-agent --no-pager
    journalctl -u morpher-agent -e --no-pager

@jongwooo jongwooo requested a review from Copilot August 21, 2025 00:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds arch-specific installation scripts for amd64 and arm64 architectures that automate the download, installation, and systemd service setup for the morpher-agent. The changes include comprehensive README documentation with installation instructions, environment variable configuration, and service management guidance.

  • Added automated installation scripts for both amd64 and arm64 architectures
  • Enhanced README with quick start guide, environment variables documentation, and service management instructions
  • Integrated systemd service creation and automatic startup functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
scripts/install_amd64.sh Installation script for x86_64 architecture with GitHub release download and systemd setup
scripts/install_arm64.sh Installation script for ARM64 architecture with GitHub release download and systemd setup
README.md Added comprehensive installation documentation, quick start guide, and service management instructions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@PDJ107 PDJ107 merged commit da668e8 into main Aug 21, 2025
4 checks passed
@PDJ107 PDJ107 deleted the feat/install-script branch August 21, 2025 05:04
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.

2 participants