Setting up the EA3CV contributions repository
๐ Installation and Maintenance Guide for the contrib/ea3cv Repository
๐ Purpose
This document provides step-by-step instructions for installing and keeping up to date the ea3cv repository under:
/home/sysop/spider/contrib/ea3cv
This repository is intended as a reference, backup, or development environment. It does not directly affect the DXSpider system unless its contents are copied into active directories such as local_cmd/
.
๐งฉ 1. Initial Installation
โถ๏ธ Step 1: Change to the target directory
cd /home/sysop/spider/contrib
โถ๏ธ Step 2: Clone the repository
git clone https://github.com/EA3CV/dxspider_info.git ea3cv
This will create the directory:
/home/sysop/spider/contrib/ea3cv/
containing all the contents of the remote GitHub repository.
๐ 2. Updating the Repository
โถ๏ธ Manual update
To fetch the latest changes from GitHub at any time:
cd /home/sysop/spider/contrib/ea3cv git pull
This will update the local copy to the latest available version.
๐ Optional: Automatic update via crontab
To keep the repository automatically up to date, add a cron job:
- Edit the crontab:
nano local_cmd/crontab
- Add the following line to update daily at 04:00:
0 4 * * * spawn("cd /home/sysop/spider/contrib/ea3cv; git pull")
This command will:
- Perform a
git pull
every day at 04:00.
Note: Avoid making local modifications inside this repository if it is updated automatically via cron, to prevent merge conflicts.
๐ ๏ธ 3. Using the Cloned Repository
This repository may contain:
- Scripts under
set/
,show/
,unset/
- Configuration examples
- Utility tools
You may copy files from this repository into production directories, such as:
/home/sysop/spider/local_cmd/
For example:
cp /home/sysop/spider/contrib/ea3cv/set/myscript.pl /home/sysop/spider/local_cmd/set/
โ Quick Summary
Action | Command |
---|---|
Clone the repository | git clone https://github.com/EA3CV/dxspider_info.git ea3cv
|
Manual update | cd ea3cv && git pull
|
Copy script to production | cp ea3cv/set/myscript.pl ../local_cmd/set/
|
Enable auto-update (cron) | See the crontab section above |
๐ง Notes
- This repository is ideal for maintaining clean, reusable command scripts and documentation.
- Custom scripts or local changes should be done outside this directory, typically in
local_cmd/
.