2024-03-15 17:28:54 -04:00
# Dawarich
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
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.
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
## Features
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
### Google Maps Timeline import
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
You can import your Google Maps Timeline data into Wardu.
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
### Location history
2022-04-06 14:46:10 -04:00
2024-03-15 18:27:31 -04:00
You can view your location history on a map.
2022-04-06 14:46:10 -04:00
## How to start the app locally
0. Install and start Docker
1. `make build` to build docker image and install all the dependencies (up to 5-10 mins)
2. `make setup` to install gems, setup database and create test records
3. `make start` to start the app
Press `Ctrl+C` to stop the app.
Dockerized with https://betterprogramming.pub/rails-6-development-with-docker-55437314a1ad
2023-05-28 06:52:13 -04:00
2024-03-16 18:15:44 -04:00
## Deployment
2023-05-28 06:52:13 -04:00
2024-03-16 18:15:44 -04:00
`make build_and_push version=0.0.5` to build and push the docker image to the registry
2023-05-28 06:52:13 -04:00
2024-03-16 18:15:44 -04:00
Then go to Portainer and update the service to use the new image
2024-03-15 18:27:31 -04:00