Customer Server
‚
Step 4: Con
fi
gure in your server the context of the callback server application with the path where the source
fi
les were extracted.
Copy and paste the following text as content of the
fi
le
“
my_server.conf
” fi
le located on
“
/etc/apache2/sites-available
”
(replace paths to match your server deployment locations):
<VirtualHost
*:80
>
ServerAdmin
webmaster@localhost
ServerName
my_server.com
ServerAlias
my_server.com
DirectoryIndex
index.html index.php
DocumentRoot /path/zip/extracted
ErrorLog
${APACHE_LOG_DIR}/error.log
CustomLog
${APACHE_LOG_DIR}/access.log combined
<Directory
/path/zip/extracted
>
Options
Indexes FollowSymLinks
AllowOverride All
Require all
granted
</Directory>
</VirtualHost>
Multiples instances
I
f you want to use the Customer Server with more than one application you will have to deploy one
VirtualHost
for each application, you will have to follow the same steps from above but you will have also to create another
database and change the con
fi
guration on the
.env
fi
le of your new VirtualHost to match your new name.
7.3. Con
fi
guring the application
I
nitialize the nodes storage:
cd
src/storage/app/parking
cp nodes.example.json nodes.json
Copy
“
src/.env.example
”
to
“
src/.env
”
and edit the
fi
le:
- 95 -
v7.5
Summary of Contents for Waspmote Smart Parking v2
Page 1: ......
Page 92: ...LoRaWAN Network Server setup Figure Check In to DeviceHQ 91 v7 5 ...
Page 135: ...Deployment and installation Figure Final section of the anchor and screw 134 v7 5 ...
Page 143: ...Safety Guides 11 Safety Guides 11 1 Smart Parking Chemical Fixing Cartridge 142 v7 5 ...
Page 144: ...Safety Guides 143 v7 5 ...
Page 145: ...Safety Guides 144 v7 5 ...
Page 146: ...Safety Guides 145 v7 5 ...
Page 147: ...Safety Guides 146 v7 5 ...
Page 148: ...Safety Guides 147 v7 5 ...
Page 149: ...Safety Guides 148 v7 5 ...
Page 150: ...Safety Guides 149 v7 5 ...
Page 151: ...Safety Guides 150 v7 5 ...
Page 152: ...Safety Guides 151 v7 5 ...
Page 153: ...Safety Guides 152 v7 5 ...
Page 154: ...Safety Guides 153 v7 5 ...