This commit is contained in:
scossa 2024-09-27 01:43:46 +02:00
parent ce0b45e6e3
commit 568429942f

View file

@ -173,12 +173,12 @@ mysql < initDb.sql
```
##### dipendenze
<code>npm i leaflet leaflet.locatecontrol</code>
<code>npm i leaflet leaflet.locatecontrol multer mysql config</code>
## Configura ruscomap
#### Personalizza il file di configurazione db
<code>nano /var/www/html/leaflet/ruscomap/config/default.json</code>
<code>nano /var/www/html/leaflet/ruscomap/server/config/default.json</code>
#### Apri porta sul firewall
<code>sudo iptables -A INPUT -p tcp --dport 3232 -j ACCEPT</code>
@ -198,7 +198,7 @@ After=network.target
[Service]
User=ruscone
WorkingDirectory=/var/www/html/leaflet/ruscomap/
ExecStart=/usr/bin/node /var/www/html/leaflet/ruscomap/index.js
ExecStart=/usr/bin/node /var/www/html/leaflet/ruscomap/server/index.js
Restart=always
RestartSec=5