up
This commit is contained in:
parent
ce0b45e6e3
commit
568429942f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue