User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:fittrackee [2024/06/19 13:16] willyservices:fittrackee [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-======   FitTrackee ====== 
- 
-[[https://samr1.github.io/FitTrackee/en/index.html|FitTrackee]] is an open-source fitness tracker selfhosted application that can also sync with Garmin and Strava. It is aimed at outdoor acvities. 
- 
-===== Installation ===== 
- 
-Detailed instructions can be found [[https://samr1.github.io/FitTrackee/en/installation.html|here]]. There is no container for FitTrackee, so i will show you how to install on bare-metal. 
- 
-<code bash> 
-useradd -d /data/daemons/fittrackee -m fittrackee 
-</code> 
- 
-FitTrackee uses Python, so check out [[gentoo:pip|PIP on Gentoo]] page to enable virtual environments and PIP for the fittrackee user. 
- 
-python -m venv venv_ft 
-source venv_ft/bin/activate 
- pip install fittrackee 
- 
-Now, FitTrackee requires PostgreSQL, so you need to install and start it. For reference, and [[https://wiki.gentoo.org/wiki/PostgreSQL/QuickStart|this]] and [[https://wiki.gentoo.org/wiki/PostgreSQL|this]] are the Gentoo wiki pages on PostgreSQL. These two pages are very well written and will let you setup your postgres in a few moments.  
- 
-From now on i assume PostgreSQL is installed and ready. 
- 
-Now access your postgres as admin user and create the database: 
-<code bash> 
-psql -U postgres 
-</code> 
- 
-type in the following SQL statements: 
-<code sql> 
-CREATE USER fittrackee WITH PASSWORD '<PASSWORD>'; 
-CREATE SCHEMA fittrackee AUTHORIZATION fittrackee; 
-CREATE DATABASE fittrackee OWNER fittrackee; 
-</code> 
- 
-<file - .env> 
- 
-</file> 
- 
-Ensure this **.env** file is sourced in your **~/.bashrc**. 
- 
-As a reference: 
-<file - .bashrc> 
-(only last lines shown) 
-export PATH=$PATH:~/.local/bin 
-source venv_ft/bin/activate 
-source .env 
- 
-</file> 
- 
- 
- 
- 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information