Typo in README.md
This commit is contained in:
parent
77a9e1fb44
commit
33f64cc57d
1 changed files with 6 additions and 6 deletions
12
README.md
12
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
|
|||
└── <world_name>/
|
||||
├── 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**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue