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
|
##### dipendenze
|
||||||
<code>npm i leaflet leaflet.locatecontrol</code>
|
<code>npm i leaflet leaflet.locatecontrol multer mysql config</code>
|
||||||
|
|
||||||
## Configura ruscomap
|
## Configura ruscomap
|
||||||
|
|
||||||
#### Personalizza il file di configurazione db
|
#### 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
|
#### Apri porta sul firewall
|
||||||
<code>sudo iptables -A INPUT -p tcp --dport 3232 -j ACCEPT</code>
|
<code>sudo iptables -A INPUT -p tcp --dport 3232 -j ACCEPT</code>
|
||||||
|
@ -198,7 +198,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=ruscone
|
User=ruscone
|
||||||
WorkingDirectory=/var/www/html/leaflet/ruscomap/
|
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
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
Loading…
Reference in a new issue