Tab

From HSG Wiki
Revision as of 20:25, 23 November 2018 by Evils (talk | contribs) (start and import of my writeup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

New bar system intended to replace Spacebar written by TQ with source code on our github account.

installation[edit]

Summary of commands to install the tab system:

mkdir tab
cd tab
git clone https://github.com/0x20/backtab
git clone https://github.com/0x20/tab-ui

# actual data repo, for local operation, see below instead
git clone https://github.com/0x20/tab-data

# local data only
# git clone --bare https://github.com/0x20/tab-data
# git clone tab-data.git

sudo apt install python3-venv mercurial

# make virtual environment named "tab" (can be named anything)
python3 -mvenv tab
. ./tab/bin/activate

cd backtab
pip install -r requirements.txt

# if an SSL error occurs, edit /etc/ssl/openssl.cnf to
# comment out the following lines:

#openssl_conf = default_conf

#[default_conf]
#ssl_conf = ssl_sect
#
#[ssl_sect]
#system_default = system_default_sect
#
#[system_default_sect]
#MinProtocol = TLSv1.2
#CipherString = DEFAULT@SECLEVEL=2


# edit backtab/config.yml to set 
# datadir: [path to tab-data]

./setup.py develop
rehash

# run server (either in background or in new terminal)
backtab-server

cd ../tab-ui

# check qmake version (tested on qmake 3.1 with qt 5.11.2)
qmake --version

mkdir build
cd build
git submodule update --init
qmake ../tab.pro

# remove line "import QtQuick.XmlListModel 2.0" from tab-ui/main.qml if present

make

# launch GUI
./tab-ui

# step 4, profit