Database for tracking search and rescue activities
Go to file
2023-11-16 16:08:08 +02:00
.idea First working prototype with map search and some dynamic UI 2023-11-12 22:06:15 +02:00
templates Initial internationalisation implementation 2023-11-16 10:59:39 +02:00
translations Initial internationalisation implementation 2023-11-16 10:59:39 +02:00
admin.py Added user roles, updated admin interface 2023-11-13 19:51:57 +02:00
app.py Initial internationalisation implementation 2023-11-16 10:59:39 +02:00
babel.cfg Initial internationalisation implementation 2023-11-16 10:59:39 +02:00
dashboard.py pre-bootstrap 2 2023-11-01 20:46:27 +02:00
docker-compose.yml Initial dockerization 2023-11-16 16:07:35 +02:00
Dockerfile Initial dockerization 2023-11-16 16:07:35 +02:00
gpx_tracks.py Added GPX filtering library 2023-11-15 17:22:31 +02:00
login.py pre-bootstrap 2 2023-11-01 20:46:27 +02:00
messages.pot Initial dockerization 2023-11-16 16:07:35 +02:00
models.py GPX upload functionality implemented 2023-11-15 16:24:10 +02:00
README.md Initial dockerization 2023-11-16 16:08:08 +02:00
requirements.txt Initial dockerization 2023-11-16 16:07:35 +02:00
sar_calls.py Fixes for GPX tracks display 2023-11-15 22:06:32 +02:00

SARBase

An attempt to create search and rescue database for logging SAR jobs and activities.

(c) 2019-2023 Vadim Likholetov

How to prepare MySQL database

mysql> CREATE DATABASE sarbaseapp;
mysql> CREATE USER 'sarbaseuser'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON sarbaseapp.* TO 'sarbaseuser'@'localhost';
mysql> SET @@GLOBAL.sql_mode := REPLACE(@@GLOBAL.sql_mode, 'NO_ZERO_DATE', '');
mysql> FLUSH PRIVILEGES;
mysql> EXIT;

How to recompile the new translations

pybabel extract -F babel.cfg -o messages.pot .
pybabel update -i messages.pot -d translations
# Update the .po files with new translations
...
pybabel compile -d translations

How to run the application with docker-compose

docker-compose up --build