Expand local_machine docs and automation for connectivity, games, and ops.
Add proxy/VPN/telegram launchd and emergency runbooks; reorganize apps docs; document JA3 CrossOver runbook and Wine troubleshooting; add GOG/HoMM game scripts, disk cleanup guides, and gitea push-via-proxy helper. Ignore temp/. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,6 +23,8 @@ bash scripts/deployment/gitea/setup-and-push.sh --create-only
|
||||
|
||||
### 2. Инициализация и первый пуш
|
||||
|
||||
**Важно:** сначала создай репозиторий на Gitea (шаг 1), иначе `git push` выдаст ошибку.
|
||||
|
||||
Из корня **local_machine** (не из родительского репо):
|
||||
|
||||
```bash
|
||||
@@ -36,14 +38,24 @@ bash scripts/deployment/gitea/setup-and-push.sh
|
||||
- добавляет `origin` (SSH или HTTPS);
|
||||
- делает первый коммит и `git push -u origin main`.
|
||||
|
||||
Если пуш упал (таймаут или «repository not found»): создай репо по шагу 1, затем снова выполни `git push -u origin main` из каталога `local_machine`.
|
||||
|
||||
### 3. Если пуш из РФ зависает
|
||||
|
||||
По гайду [GITEA_COMPLETE_GUIDE.md](./GITEA_COMPLETE_GUIDE.md):
|
||||
|
||||
- предпочтительно **SSH** (порт 2223):
|
||||
`git remote set-url origin git@gitea.hunab.app:hunabgit/local_machine.git`
|
||||
`git remote set-url origin ssh://git@gitea.hunab.app:2223/hunabgit/local_machine.git`
|
||||
и снова `git push -u origin main`;
|
||||
- либо использовать прокси/скрипты пуша из основного репо (bundle-метод), если они у вас настроены.
|
||||
- либо **пуш через прокси на зеркальный сервер 206.189.35.205** (как в hunabapp):
|
||||
|
||||
```bash
|
||||
# Из корня local_machine. Требуется: прокси hsites-ahau, ключ к 206, репо local_machine создан на Gitea на 206.
|
||||
bash scripts/deployment/gitea/git-push-gitea-via-proxy.sh
|
||||
# или с явным хостом: GITEA_SERVER=user@206.189.35.205 bash scripts/deployment/gitea/git-push-gitea-via-proxy.sh
|
||||
```
|
||||
|
||||
Скрипт пробует по порядку: SSH через прокси → HTTPS → bundle (копирование на сервер и `docker exec` в контейнер Gitea). Режим проверки без пуша: `bash scripts/deployment/gitea/git-push-gitea-via-proxy.sh --dry-run`.
|
||||
|
||||
## .gitignore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user