Build Part 2: User dsci#

Already done: installation of the basic system, see Build Part 1: user “install”.

This section: user defined software and configurations.

The user dscidsci deliberately is not part of the sudo group. In order to install some software you need to know the password of the user install.

customize background image#

copy your user definded background image into /usr/share/xfce4/backdrops/

select image in Whisker-Menue > Settings > LightDM GTK+ Greeter

  • enter install password

  • select background image

vscode#

As of 2024 we recommend Microsoft Visual Studio Code (aka VS Code) https://code.visualstudio.com/docs/python/python-tutorial:

snap install code --classic

spaCy (not used in 2024)#

https://spacy.io/usage :

  • Linux, X86, conda, CPU

  • NO virtual env

  • Trained pipelines: English, German

conda install -c conda-forge spacy
python -m spacy download en_core_web_sm
python -m spacy download de_core_news_sm

PyCharm (not used in 2024)#

Warning: PyCharm is HUGE, we do not use it. (Rather try Visual Studio Code). However, if you want to play with PyCharm:

https://www.jetbrains.com/help/pycharm/installation-guide.html:

  • RAM: 4 GB (min), 8 GB (recommended)

  • Disk space: 2.5 GB and another 1 GB for caches (min), SSD drive with at least 5 GB of free space (recommended)

  • how to install: Standalone installation > Linux > Install using snap packages > Community Edition (same as https://snapcraft.io/install/pycharm-community/ubuntu)

sudo snap install pycharm-community --classic

get started with PyCharm: https://www.jetbrains.com/help/pycharm/quick-start-guide.html

Run pycharm-community in the Terminal.

TBD: initially configure PyCharm

  • point to our conda virtual environment, including python 3.9 interpreter

Zotero#

siehe r_zotero

mystmd#

Install and init mystmd according to https://mystmd.org/guide/quickstart:

conda install -c conda-forge 'nodejs>=20,<21'
conda install mystmd -c conda-forge
git clone https://github.com/executablebooks/mystmd-quickstart.git
cd mystmd-quickstart
myst init

Some frequently useful commands:

Start local server:

myst start

Build static html: https://mystmd.org/guide/deployment#creating-static-html:

myst build --html

Build pdf via LaTeX (and yes, LaTeX is already installed to work with myst): https://mystmd.org/guide/creating-pdf-documents#exporting-to-pdf

myst build my-document.md --pdf