User Tools

Site Tools


medal-hub:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
medal-hub:setup [2022/01/14 13:15] Arnaud Polettomedal-hub:setup [2022/05/02 17:07] (current) – [Synchronization Using a Mobile Hotspot (Offline facilities)] Sylvain
Line 239: Line 239:
  
 After that, we have to change the permissions of the project folder so that each component of the application (the web server and the database) can access the required files: After that, we have to change the permissions of the project folder so that each component of the application (the web server and the database) can access the required files:
-<code>sudo chown -R www-data:www-data /home/pirate/liwi-local-data+<code> 
 +sudo chown -R pirate:pirate /home/pirate/liwi-local-data 
 +sudo chown -R www-data:www-data /home/pirate/liwi-local-data/storage
 sudo chown -R root:root /home/pirate/liwi-local-data/postgres-data sudo chown -R root:root /home/pirate/liwi-local-data/postgres-data
 sudo usermod -a -G www-data pirate sudo usermod -a -G www-data pirate
Line 329: Line 331:
   - Check that the hotspot is already configured with the ssid and the password specified in ''wpa_supplicant.conf''. The raspberry will automatically connect to a network with this configuration.   - Check that the hotspot is already configured with the ssid and the password specified in ''wpa_supplicant.conf''. The raspberry will automatically connect to a network with this configuration.
   - As soon as the connection is established, the hub will push the cases to the main server.   - As soon as the connection is established, the hub will push the cases to the main server.
-  - In order to make sure that the transaction completed successfully, logs are available under ''liwi_local_data/storage/logs/laravel.log'': \\ <code>sudo nano liwi_local_data/storage/logs/laravel.log</code> You should see at the end of the export: \\ <code>Upload successful!</code>+  - In order to make sure that the transaction completed successfully, logs are available under ''liwi_local_data/storage/logs/laravel.log'': \\ <code>sudo nano liwi-local-data/storage/logs/laravel.log</code> You should see at the end of the export: \\ <code>Upload successful!</code>
medal-hub/setup.1642162547.txt.gz · Last modified: 2022/01/14 13:15 by Arnaud Poletto