Links: GitHub -> Gitea git.bobyrev.com (GitHub accounts suspended)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
На свежем Ubuntu VPS (root):
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/install.sh | sudo bash
|
||||
curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/install.sh | sudo bash
|
||||
```
|
||||
|
||||
Скрипт автоматически:
|
||||
|
||||
- ставит **nginx** и отдаёт сайт на **порту 80** (HTTP);
|
||||
- разворачивает **поиск доменов** (`/search`) и API (`/api/search`);
|
||||
- клонирует [domain-finder-bot](https://github.com/andrey271192/domain-finder-bot) для логики discovery;
|
||||
- клонирует [domain-finder-bot](https://git.bobyrev.com/PCA_Private/domain-finder-bot) для логики discovery;
|
||||
- **не трогает** Amnezia/Docker на **443**, существующий Telegram-бот и другие сервисы.
|
||||
|
||||
### Переменные окружения (опционально)
|
||||
@@ -58,7 +58,7 @@ nano /var/www/domain-web/data/site-config.json
|
||||
## Удаление
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/uninstall.sh | sudo bash
|
||||
curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/uninstall.sh | sudo bash
|
||||
```
|
||||
|
||||
## Структура репозитория
|
||||
@@ -82,7 +82,7 @@ cd web && python3 -m http.server 8080
|
||||
|
||||
## Связанные проекты
|
||||
|
||||
- [domain-finder-bot](https://github.com/andrey271192/domain-finder-bot) — Telegram-бот с той же логикой поиска
|
||||
- [domain-finder-bot](https://git.bobyrev.com/PCA_Private/domain-finder-bot) — Telegram-бот с той же логикой поиска
|
||||
|
||||
## Лицензия
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Domain Web — full deploy: static site + search API (nginx :80)
|
||||
# curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/install.sh | sudo bash
|
||||
# curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/install.sh | sudo bash
|
||||
set -euo pipefail
|
||||
|
||||
REPO_URL="${DOMAIN_WEB_REPO_URL:-https://github.com/andrey271192/Domain_web.git}"
|
||||
BOT_REPO_URL="${DOMAIN_FINDER_REPO:-https://github.com/andrey271192/domain-finder-bot.git}"
|
||||
REPO_URL="${DOMAIN_WEB_REPO_URL:-https://git.bobyrev.com/PCA/Domain_web.git}"
|
||||
BOT_REPO_URL="${DOMAIN_FINDER_REPO:-https://git.bobyrev.com/PCA_Private/domain-finder-bot.git}"
|
||||
BRANCH="${DOMAIN_WEB_BRANCH:-main}"
|
||||
INSTALL_SRC="${DOMAIN_WEB_INSTALL_SRC:-/opt/domain-web-src}"
|
||||
WEB_ROOT="${DOMAIN_WEB_ROOT:-/var/www/domain-web}"
|
||||
|
||||
Reference in New Issue
Block a user