Skip to content
Snippets Groups Projects
README 1.34 KiB
This file documents the required steps to get the SMILE SXI EGSE up and running on a freshly installed (Arch) Linux system.

manjaro-xfce-21.0.5 linux5.10

# Prerequisites
1) get EGSE repository
    $> git clone 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 'egse'@'localhost' IDENTIFIED BY 'xrayvision';
    mysql> GRANT ALL PRIVILEGES ON * . * TO 'egse'@'localhost';
    mysql> FLUSH PRIVILEGES;

3) install packages/devtools
    - gtksourceview3 [<=3.24.11-1]
    - ipython [<=7.31]
    - make

4) install python modules (this can be done be running 'make install-python-env' in the CCS base directory)
    - 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, make DB schemas and Python packages

    - first configure egse.cfg!
    
    $> make install-confignator
    $> make ccs-storage
    $> make codeblockreusefeature
    $> make install-testlib