Kispagi (which means to pay with kisses in Esperanto) is an app that connects to your favourite(s) issue tracker or project manager(Gitlab, etc) to calculate the contributed hours and calculate a payment distribution with different rules.
git clone [email protected]:capiscuas/kispagi.git kispagi
cd kispagi
export LC_ALL=C # in case you get error when creating the virtualenv
#For python3
virtualenv -p /usr/bin/python3 venv
#For python2
virtualenv -p /usr/bin/python2 venv
source venv/bin/activate
pip install flask requests python-dateutil python-slugify python2redmine
Create an empty file at env/__init__.py
Create a file env/settings.py which will contain the following content:
ocp_token = "REPLACE_BY_THE_VALUENETWORK USER TOKEN"
ocp_host = "REPLACE BY THE VALUENETWORK GRAPHEN API URL"
gitlab_host = 'GITLAB API URL'
gitlab_token = 'GITLAB USER TOKEN'
cd flask_app
Note: Make sure you have the virtual environment activated
python flask_app.py
Then open your browser at http://127.0.0.1:5000/