Skip to content

BoboTiG/gps-map-hikers

Repository files navigation

GPS Map for Hikers

Beautiful map using those awesome free and open-source softwares:

Adventure

For each hiking adventure, GPS traces & medias will be stored into the "traces" folders. You don't have to deal with those folders.

If you need to set a timezone different from Europe/Paris, then create the traces/tz.txt file with the content of the expected timezone.

For instance, an adventure taking place in the North of the New Zealand, the appropriate timezone would be Pacific/Auckland. For that example, you would put Pacific/Auckland into the traces/tz.txt file.

Production

Copy all files from the host folder to the PythonAnywhere hosting account.

Details:

  • Python version: 3.10
  • Force HTTPS: enabled
  • Web app type: Bottle

Security

Several endpoints are protected by a user/password combination. Credentials are to be set in the host/basic_auth.txt file using that format: user:password.

Development

Installation

$ python3.11 -m venv venv
$ . venv/bin/activate
$ python -m pip install -U pip
$ python -m pip install -r requirements-dev.txt

Quality

$ ./checks.sh

Tests

$ python -m pytest

Local Server

$ python server.py