37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
# AGM Deployment Configuration Template
|
|
# Copy this file to ~/.agm-deploy.conf and customize as needed
|
|
|
|
# Base directories
|
|
export AGM_BASE_DIR="$HOME/work/AgMission"
|
|
export AGN_LIBS_DIR="$HOME/work/@agn"
|
|
|
|
# Deployment targets
|
|
export AGM_DEST_HOST="agm@agmission-1.agnav.com"
|
|
export AGM_DEST_PORT="22222"
|
|
export AGM_DEST_PATH="/home/agm/apps"
|
|
|
|
# Alternative configurations (uncomment and modify as needed)
|
|
|
|
# For development environment:
|
|
# export AGM_DEST_HOST="agm@dev.agnav.com"
|
|
# export AGM_DEST_PORT="2222"
|
|
# export AGM_DEST_PATH="/home/dev/applications"
|
|
|
|
# For staging environment:
|
|
# export AGM_DEST_HOST="agm@staging.agnav.com"
|
|
# export AGM_DEST_PORT="22222"
|
|
# export AGM_DEST_PATH="/opt/staging/apps"
|
|
|
|
# For custom local paths:
|
|
# export AGM_BASE_DIR="/custom/path/to/AgMission"
|
|
# export AGN_LIBS_DIR="/custom/path/to/@agn"
|
|
# export AGM_DEST_PATH="/custom/remote/path"
|
|
|
|
# Usage:
|
|
# 1. Copy this file: cp agm-deploy.conf.template ~/.agm-deploy.conf
|
|
# 2. Edit the configuration: nano ~/.agm-deploy.conf
|
|
# 3. Source it before deployment: source ~/.agm-deploy.conf && ./agm-deploy.sh 1 trunk
|
|
# 4. Or create environment-specific configs:
|
|
# - ~/.agm-deploy-dev.conf
|
|
# - ~/.agm-deploy-staging.conf
|
|
# - ~/.agm-deploy-prod.conf |