fueltracker_diary

Differences

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

Link to this comparison view

Next revision
Previous revision
fueltracker_diary [2023/02/08 13:57] – created adminfueltracker_diary [2023/03/29 14:52] (current) admin
Line 1: Line 1:
 ====== FuelTracker dev diary ====== ====== FuelTracker dev diary ======
 +===== Proposed =====
 +==== Missing products comparison ====
 +  * Generate a table of "all products" for all stations.
 +  * Compare "today's" products against that master list to see what is not available today.
 +  * Age out as needed(?).
 +  * Remove old stations.
 +
 +
 +
 +
 ===== Processes ===== ===== Processes =====
 ==== Compare DEV to PROD database ==== ==== Compare DEV to PROD database ====
 +Export database schemas (no data):
 <code> <code>
 docker exec -it FW_PostgreSQL /bin/bash docker exec -it FW_PostgreSQL /bin/bash
Line 7: Line 18:
 pg_dump -Cs fuelwatcher > /workspace/FuelWatcher/backups/fuelwatcher_STONARD_`date +%Y-%m-%dT%H-%M-%S`.bak pg_dump -Cs fuelwatcher > /workspace/FuelWatcher/backups/fuelwatcher_STONARD_`date +%Y-%m-%dT%H-%M-%S`.bak
 </code> </code>
 +
 +Compare exports (Beyond Compare):
 +RPi / **backups <--> bak** 
 +
 +===== History =====
 +==== 2023-02-08 ====
 +
  
 {{tag>FuelTracker RPi}} {{tag>FuelTracker RPi}}
  
  • fueltracker_diary.1675835851.txt.gz
  • Last modified: 2023/02/08 13:57
  • by admin