giovanni-angeli / flask_tracker

a sample team activity tracker based on Flask Admin
GNU General Public License v3.0
0 stars 0 forks source link
activity-trackers flask-admin flask-login flask-sqlalchemy flask-tracker

flask_tracker

a very simplified system for monitoring the activities of a work team, based on Flask Admin.

flask_tracker is a variation on the theme of activity trackers (Trac, Redmine, Assembla, Trello, ...), based on a home-made approach in order to get:

It is not aimed to be:

It is buitl using (see INSTALL_REQUIRES in setup.py for a complete dependency list):

'flask',
'flask_admin',
'flask_sqlalchemy',
'flask-login',
'markdown',
'waitress',

For the built-in wiki, flask_tracker integrates code cloned from the project alexanderjulo/wiki


Copyright (c) 2019 2021 giovanni.angeli6@gmail.com

'Development Status :: 2 - Pre-Alpha'

Overview.

set working paths:

$ export FT_PROJECT_ROOT=/opt/PROJECTS/flask_tracker
$ export FT_RUNCONF_ROOT=/opt/flask_tracker/conf
$ export FT_VENV_ROOT=/opt/flask_tracker/venv

create virtualenv:

$ virtualenv -p /usr/bin/python3 ${FT_VENV_ROOT}

build:

$ (cd ${FT_PROJECT_ROOT} && python3 setup.py bdist_wheel --dist-dir ./__wheels__)

install:

$ (. ${FT_VENV_ROOT}/bin/activate && cd ${FT_PROJECT_ROOT} && pip install .)

OR install in edit mode, i.e. development mode:

$ (. ${FT_VENV_ROOT}/bin/activate && cd ${FT_PROJECT_ROOT} && pip install -e .)

init the application (i.e. clone default conf files):

$ ${FT_VENV_ROOT}/bin/flask_tracker_init ${FT_RUNCONF_ROOT}

edit your conf file:

$ <your-preferred-code-editor> ${FT_RUNCONF_ROOT}/flask_conf.py

run the server:

$ ${FT_VENV_ROOT}/bin/flask_tracker_run -c ${FT_RUNCONF_ROOT}/flask_conf.py

open the browser:

$ firefox <conf-host>:<conf-port>

login as:

admin, admin

graph of the db schema (v7):

db schema