From 27f8f54c0554191fb0f99d752d992c4c57a78928 Mon Sep 17 00:00:00 2001 From: Garfield Date: Sat, 21 Mar 2026 18:40:22 -0400 Subject: [PATCH] Add Gitea setup instructions --- GITEA_SETUP.md | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 GITEA_SETUP.md diff --git a/GITEA_SETUP.md b/GITEA_SETUP.md new file mode 100644 index 0000000..90f6c74 --- /dev/null +++ b/GITEA_SETUP.md @@ -0,0 +1,82 @@ +# Gitea Setup Instructions + +## Step 1: Create Access Token +1. Login to Gitea: https://git.fetcherpay.com +2. Click your profile (top right) → Settings +3. Go to "Applications" tab +4. Generate Token: + - Token Name: `mql-trading-bots` + - Scopes: Check `repo` (full repository access) +5. Copy the token (starts with something like `a1b2c3...`) + +## Step 2: Create Repository via API + +Run this command with your token: + +```bash +curl -X POST "http://10.152.183.192:3000/api/v1/user/repos" \ + -H "Content-Type: application/json" \ + -H "Authorization: token YOUR_TOKEN_HERE" \ + -d '{ + "name": "mql-trading-bots", + "description": "MetaTrader 4/5 Expert Advisors - MultiSignal Confluence Trading System", + "private": true, + "auto_init": false + }' +``` + +## Step 3: Add Remote and Push + +```bash +cd ~/mql-trading-bots + +# Add Gitea remote +git remote add origin http://10.152.183.192:3000/garfield/mql-trading-bots.git + +# Or use SSH if configured: +# git remote add origin git@git.fetcherpay.com:garfield/mql-trading-bots.git + +# Push to Gitea +git push -u origin master +``` + +## Alternative: Create via Web UI + +1. Go to https://git.fetcherpay.com +2. Click "+" → "New Repository" +3. Repository Name: `mql-trading-bots` +4. Description: `MetaTrader 4/5 Expert Advisors` +5. Visibility: Private +6. Uncheck "Initialize Repository" +7. Click "Create Repository" +8. Follow the "Push an existing repository" instructions + +## Repository Contents + +``` +mql-trading-bots/ +├── README.md # This documentation +├── MultiSignal_Confluence_EA.mq5 # Main EA (v1.11) +├── MultiSignal_Confluence.mq5 # Indicator version +├── HarmonicPatternFinderV2_Optimized.mq5 # Harmonic patterns +├── CandlestickPatternEA_Fixed.mq5 # Candlestick EA +├── FadePivot2_v4_Fixed.mq5 # Pivot strategy +├── Bot10001.mq5 # Bot series v1 +├── Bot10002.mq5 # Bot series v2 +├── EnhancedEA.mq5 # Enhanced features +└── ... +``` + +## Backup Strategy + +1. **Code**: Pushed to Gitea (this repo) +2. **Settings**: Documented in README.md +3. **Docker**: MT5 config in `~/mt5-docker/` + +## Restore Instructions + +If you lose access again: +1. Clone from Gitea: `git clone http://git.fetcherpay.com/garfield/mql-trading-bots.git` +2. Copy `.mq5` files to MT5's MQL5/Experts folder +3. Compile in MetaEditor +4. Deploy to charts