Skip to content

ej222pj/1DV411_crossfitKalmar

Repository files navigation

Crosstag: A sensible gym solution for sensible gyms

I really wish I had written more here. Maybe by Christmas?

Features

Installation

install dependencies and clone this repo

sudo pip3 install —upgrade pip
sudo pip3 install Flask
sudo pip3 install Flask-SQLAlchemy
sudo pip3 install Flask-wtf
sudo pip3 install pyfiglet
sudo pip3 install requests
sudo pip3 install pyserial
git clone https://github.com/lundstrj/crosstag.git

to start the server

sudo python crosstag_server.py

to start the reader

python crosstag_reader.py

to start the terminal based viewer

python crosstag_viewer.py

Avoid screen blanking

sudo nano /etc/kbd/config
BLANK_TIME=0
POWERDOWN_TIME=0
sudo /etc/init.d/kbd restart
sudo nano /etc/lightdm/lightdm.conf
xserver-command=X -s 0 dpms

Setup for remote access

sudo apt-get update
sudo apt-get install weavedconnectd
sudo weavedinstaller

Setup for Crontab

sudo apt-get install gnome-schedule
crontab -e <== Opens crontab file
Add 3 lines in the bottom for automatic email, automatic sync and clear tagcounter
* 10 * * 1 wget -O - -q -t 1 http://localhost/crosstag/v1.0/send_latecomers_email/
* 6 * * 1 wget -O - -q -t 1 http://localhost/crosstag/v1.0/fortnox/
0 4 1 * * wget -O - -q -t 1 http://localhost/crosstag/v1.0/clear_tagcounter/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published