Skip to content
Snippets Groups Projects
Select Git revision
  • 2c5d128f0738f1c7f70eeb24bbada5ed72f0da14
  • release default protected
  • workshop
3 results

ccs

This file documents the required steps to get the UVIE EGSE software up and running on a freshly installed (Arch) Linux system.

manjaro-xfce-21.0.5 linux5.10

# Prerequisites
1) get CCS repository
    $> git clone https://gitlab.phaidra.org/mecinam2/CCS.git
    
2) install MySQL/MariaDB and set it up
    - mariadb
    - mysql-workbench (optional)

    $> sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
    $> sudo systemctl enable --now mariadb
    $> sudo mariadb-secure-installation
    mysql> CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
    mysql> GRANT ALL PRIVILEGES ON * . * TO 'user'@'localhost';
    mysql> FLUSH PRIVILEGES;

3) install packages/devtools
    - gtksourceview3 [<=3.24.11-1]
    - python-pip
    - make

4) install python modules (to install the required modules with pip in userspace or a venv, you can run 'make install-python-requirements' in the CCS base directory or use 'pip install [--user] -r requirements.txt')
    - ipython [=7.*]
    - python-numpy
    - python-scipy
    - python-matplotlib
    - python-cairocffi
    - python-mysqlclient
    - python-sqlalchemy
    - python-wheel
    - python-sphinx
    - python-sphinx_rtd_theme
    - python-astropy
    - python-crcmod
    - python-psutil

# Installation
In the CCS base directory, execute

    - first configure egse.cfg!
    
    $> make install-confignator
    $> make ccs-storage
    $> make codeblockreusefeature
    
# MIB
Use CCS/Ccs/tools/import_mib.py to import a set of SCOS2000 MIB files into a MySQL DB schema

# CCS & TST
start_ccs: starts the CCS
start_tst: starts the TST

# Troubleshooting
If working within a Python venv, you might need to install vext to access the system-site installation of gi:
pip install vext
pip install vext.gi