diff --git a/README.md b/README.md index 41e4d39..b32e1c9 100644 --- a/README.md +++ b/README.md @@ -50,12 +50,12 @@ OR Clone the Git repository to a base directory. --```bash +```bash git clone [https://git.geigernet.eu/rainer/luanti-web.git](https://git.geigernet.eu/rainer/luanti-web.git) /opt/luweb cd /opt/luweb # Make all scripts executable chmod +x generate_map.sh generate_site.sh check_server_status.sh check_dependencies.sh sync_players.sh sync_areas.sh --``` +``` ### 2. Global Configuration @@ -67,7 +67,7 @@ The system is designed so that **only worlds with a `web.conf` file** will be di ## 📂 Directory Structure --```md +```md /opt/luweb/ ├── config.sh ├── generate_map.sh @@ -88,13 +88,13 @@ The system is designed so that **only worlds with a `web.conf` file** will be di └── / ├── map.png └── map_info.txt --``` +``` ## 🚀 Usage & Automation (Cronjob) The scripts are designed for automated execution. Set them up using `crontab -e`. --```bash +```bash # (Frequently) Update player and server status * * * * * cd /opt/luweb && ./sync_players.sh >> /var/log/luweb/cron.log 2>&1 */5 * * * * cd /opt/luweb && ./check_server_status.sh >> /var/log/luweb/cron.log 2>&1 @@ -105,7 +105,7 @@ The scripts are designed for automated execution. Set them up using `crontab -e` # (Infrequently) Sync area data and rebuild the static site 45 */12 * * * cd /opt/luweb && ./sync_areas.sh >> /var/log/luweb/cron.log 2>&1 30 */12 * * * cd /opt/luweb && ./generate_site.sh >> /var/log/luweb/cron.log 2>&1 --``` +``` ## 📄 License **MIT License**