This is a Rails app that receives location updates from Owntracks and stores them in a database. It also provides a web interface to view the location history.
Features
Google Maps Timeline import
You can import your Google Maps Timeline data into Wardu.
Location history
You can view your location history on a map.
How to start the app locally
Install and start Docker
make build to build docker image and install all the dependencies (up to 5-10 mins)
make setup to install gems, setup database and create test records
make build_and_push version=0.0.5 to build and push the docker image to the registry
Then go to Portainer and update the service to use the new image
Environment variables
MINIMUM_POINTS_IN_CITY — minimum number of points in a city to consider it as a city visited, eg. 10MAP_CENTER — default map center, e.g. 55.7558,37.6176TIME_ZONE — time zone, e.g. Europe/Berlin