Strix uses virtuals envs for python version and virtual environment management. To get running:
- Create the virtual environment using
python -m venv .venv. - Activate the virtual environment with
source .venv/bin/activate.
pip install --upgrade pippip install -e .cd ..git clone [email protected]:spraakbanken/strix-config-reader.gitcd strix-config-readergit checkout v2.0cd ..git clone [email protected]:spraakbanken/strix-settings-sb.git- cd strix-pipeline
- Update
settings_dirinconfig.yaml - pip install -e ../strix-config-configurer
Copy config.yaml.example to config.yaml and make your changes. This file will be picked up by
default, but it is also possible to run script with --config path/to/config.yaml.
Make sure that the text and settings directories are properly configured:
texts_dir: /home/strix/texts
settings_dir: /home/strix/settings
Clone and build plugin, add to ES plugin folder before starting ES.