Files
configure_nginx_manager/docs/en/MAKEFILE_COMMANDS_EN.md
Dmitriy Fofanov 073288f09e Дополнение: Добавлен скрипт управления DNS-сервером Let's Encrypt RegRu и связанные с ним службы systemd
- Реализован скрипт letsencrypt_regru_dns.sh для автоматического управления SSL-сертификатами с использованием проверки DNS-01 через API reg.ru.

- Создан скрипт nginxproxymanager.sh для управления установкой и обновлениями Nginx Proxy Manager.

- Добавлен файл requirements.txt с необходимыми зависимостями Python.

- Внедрена служба systemd и таймер для автоматического обновления сертификатов Let's Encrypt.

- Разработан скрипт test_certificate.sh для генерации самоподписанных SSL-сертификатов в целях тестирования.
2026-02-24 21:25:36 +03:00

2.8 KiB
Raw Blame History

Makefile Commands - Quick Reference

📋 Command Categories

🛠️ Installation and Deployment

make install              # Full application installation
make uninstall           # Remove application
make status              # Check installation status
make check-config        # Verify configuration

🔨 Building Executables

make build               # Build for current OS
make build-linux         # Build for Linux
make build-windows       # Build for Windows
make build-all           # Build for all platforms

📦 Creating Packages

make package-linux       # Create tar.gz for Linux
make package-windows     # Create zip for Windows
make release             # Full release cycle

🧪 Testing

make test-run            # Test script run
make test-cert           # Create test certificate
make test-build          # Test built file

🚀 Running Operations

make run                 # Automatic check and renewal
make obtain              # Obtain new certificate
make renew               # Renew existing certificate

📊 Monitoring

make logs                # Show logs
make status              # Service status

🧹 Cleanup

make clean               # Clean Python temporary files
make clean-build         # Clean build artifacts

Information

make help                # Show help
make build-info          # Build environment information

🎯 Common Scenarios

Initial Installation

sudo make install
sudo make check-config
sudo make test-run

Building Release for GitHub

make clean-build
make release
# Files will be in dist/

Creating Test Environment

sudo make install
sudo make test-cert
sudo make status

Manual Certificate Renewal

sudo make run
sudo make logs

Removing Application

sudo make uninstall

📝 Environment Variables

Main variables defined in Makefile:

INSTALL_DIR = /opt/letsencrypt-regru
CONFIG_FILE = /etc/letsencrypt/regru_config.json
LOG_FILE = /var/log/letsencrypt_regru.log
SERVICE_NAME = letsencrypt-regru
PYTHON = python3

🔐 Required Permissions

Require sudo:

  • make install
  • make uninstall
  • make run
  • make obtain
  • make renew
  • make test-run
  • make test-cert

Don't require sudo:

  • make build*
  • make package*
  • make clean*
  • make help
  • make build-info

💡 Useful Combinations

# Full reinstallation
sudo make uninstall && sudo make install

# Build and test
make build && make test-build

# Clean and release
make clean-build && make release

# Post-installation check
sudo make status && sudo make test-run && sudo make logs

Author: Dmitry Fofanov
Last Updated: October 28, 2025