Automatisch hele websites opzetten? Check! DNS, Apache, SSL, MySQL... dit scriptje regelt het allemaal.
# Setup
cp .env.example .env
# Pas je .env aan met je settings
# Run (productie = met sudo)
sudo python main.py
Het script vraagt je stap voor stap wat je wilt:
example (wordt automatisch example.sil)y/ny/n y/nKlaar! Je website draait.
pip install python-dotenv mysql-connector-python cryptographyAls je domein al bestaat, kun je backups maken van:
Backups komen in ./backups/
main.py → Hoofdscript
ZoneGenerator.py → DNS zones
VhostGenerator.py → Apache configs
SSLKeyGenerator.py → SSL certificaten
DBGenerator.py → Database magic
WebsiteGenerator.py → Website deployment
BackupGenerator.py → Backup systeem
sudosystemctl status namedhttpd -t en logs in ./http/log.envMade for school 🎓