diff --git a/README.md b/README.md index ffcdb67..92e69e5 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ На сервере под **root** (или через `sudo`), когда репозиторий уже опубликован на GitHub: ```bash -curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-admin/main/scripts/install.sh | sudo bash +curl -fsSL https://raw.githubusercontent.com/andrey271192/Amnezia_web/main/scripts/install.sh | sudo bash ``` Другой репозиторий или ветка: @@ -30,7 +30,7 @@ cd /opt/amnezia-admin && chmod +x scripts/install.sh && sudo SKIP_DOWNLOAD=1 bas | Переменная | По умолчанию | Назначение | |------------|--------------|------------| -| `GITHUB_REPO` | `andrey271192/amnezia-admin` | Откуда качать архив | +| `GITHUB_REPO` | `andrey271192/Amnezia_web` | Откуда качать архив | | `BRANCH` | `main` | Ветка | | `INSTALL_DIR` | `/opt/amnezia-admin` | Куда распаковать исходники | | `DATA_DIR` | `/opt/amnezia-admin-data` | Том с `password.hash` и сессией | @@ -47,13 +47,13 @@ cd /opt/amnezia-admin && chmod +x scripts/install.sh && sudo SKIP_DOWNLOAD=1 bas ## Удаление одной командой ```bash -curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-admin/main/scripts/uninstall.sh | sudo bash +curl -fsSL https://raw.githubusercontent.com/andrey271192/Amnezia_web/main/scripts/uninstall.sh | sudo bash ``` Полная очистка (контейнер, образ, данные панели и каталог `/opt/amnezia-admin`): ```bash -curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-admin/main/scripts/uninstall.sh | sudo REMOVE_IMAGE=1 REMOVE_DATA=1 REMOVE_SRC=1 bash +curl -fsSL https://raw.githubusercontent.com/andrey271192/Amnezia_web/main/scripts/uninstall.sh | sudo REMOVE_IMAGE=1 REMOVE_DATA=1 REMOVE_SRC=1 bash ``` --- @@ -73,7 +73,7 @@ sudo cat /root/amnezia-admin.initial-password ### Свой пароль при установке ```bash -ADMIN_PASSWORD='ВашНадёжныйПароль' curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-admin/main/scripts/install.sh | sudo -E bash +ADMIN_PASSWORD='ВашНадёжныйПароль' curl -fsSL https://raw.githubusercontent.com/andrey271192/Amnezia_web/main/scripts/install.sh | sudo -E bash ``` После первого успешного старта переменную `ADMIN_PASSWORD` из команды `docker run` убирайте — пароль уже в томе `DATA_DIR`. @@ -115,7 +115,7 @@ ADMIN_PASSWORD=localtest node server.js | Способ | Ссылка | |--------|--------| -| GitHub | [репозиторий](https://github.com/andrey271192/amnezia-admin) | +| GitHub | [репозиторий](https://github.com/andrey271192/Amnezia_web) | | Boosty | [boosty.to/lot_andrey](https://boosty.to/lot_andrey) | | Ozon СБП | _добавьте свою постоянную ссылку СБП сюда и при желании замените цель ссылки «Ozon СБП» в `public/index.html`_ | | Telegram | [@lot_andrey](https://t.me/lot_andrey) | diff --git a/package.json b/package.json index ff3bde6..8b2a086 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/andrey271192/amnezia-admin.git" + "url": "https://github.com/andrey271192/Amnezia_web.git" }, "type": "module", "scripts": { diff --git a/public/index.html b/public/index.html index c8caf0b..684a4dd 100644 --- a/public/index.html +++ b/public/index.html @@ -89,11 +89,11 @@
Amnezia Admin WebUI - ⭐ GitHub + ⭐ GitHub 💖 Boosty - 💳 Ozon СБП + 💳 Ozon СБП ✉️ Telegram @lot_andrey
diff --git a/scripts/install.sh b/scripts/install.sh index 29c906e..6371718 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ # Установка Amnezia Admin WebUI одной командой (см. README). set -euo pipefail -GITHUB_REPO="${GITHUB_REPO:-andrey271192/amnezia-admin}" +GITHUB_REPO="${GITHUB_REPO:-andrey271192/Amnezia_web}" BRANCH="${BRANCH:-main}" INSTALL_DIR="${INSTALL_DIR:-/opt/amnezia-admin}" DATA_DIR="${DATA_DIR:-/opt/amnezia-admin-data}"