Installation Guide
This guide provides detailed instructions for installing Goction on your system.
Prerequisites
Before installing Goction, ensure you have:
- Go 1.16 or higher
- An operating system compatible with systemd (e.g., most Linux distributions)
Quick Installation (Recommended)
You can quickly install Goction using our installation script:
curl -sSL https://raw.githubusercontent.com/goction/goction/master/hack/install.sh | sudo bash
This script will download and install Goction on your system.
Manual Installation
If you prefer to install Goction manually, follow these steps:
Clone the repository:
git clone https://github.com/goction/goction/ cd goction
Run the installation script:
sudo ./hack/install.sh
Post-Installation
After installation:
- The Goction service will be installed and started automatically.
- A configuration file will be created at
/etc/goction/config.json
. - The goctions directory will be created at
/etc/goction/goctions/
.
Verifying the Installation
After installation, verify that Goction is installed correctly by running:
goction --version
This should display the version of Goction installed on your system.
Uninstallation
To uninstall Goction, use the removal script:
sudo ./hack/remove.sh
This script will remove all Goction files, including your goctions and configuration. Make sure to backup any important goctions before uninstalling.
For more information on configuring Goction, please refer to the Configuration Guide.