IssueID #1487: added bits needed for setup

This commit is contained in:
gigabaza 2021-01-27 12:48:20 +01:00
parent 5159be8d35
commit 4440a0a2b3

View File

@ -8,6 +8,8 @@ source venv/bin/activate
pip install classla pip install classla
pip install lxml pip install lxml
pip install obeliks pip install obeliks
pip install psycopg2cffi
pip install sqlalchemy
python -c "import classla; classla.download('sl_ssj_jos')" <<< $'Y\nresources/classla' python -c "import classla; classla.download('sl_ssj_jos')" <<< $'Y\nresources/classla'
deactivate deactivate
@ -20,6 +22,7 @@ git clone git@gitea.cjvt.si:generic/xml_schemas.git
## put needed scripts in place ## put needed scripts in place
cd scripts cd scripts
ln -s ../nova_slovnica/python/scripts/conllu_to_xml.py . ln -s ../nova_slovnica/python/scripts/conllu_to_xml.py .
ln -s ../nova_slovnica/python/scripts/assign_single_structures.py .
ln -s ../nova_slovnica/python/scripts/assign_structures.py . ln -s ../nova_slovnica/python/scripts/assign_structures.py .
ln -s ../nova_slovnica/python/scripts/create_structures.py . ln -s ../nova_slovnica/python/scripts/create_structures.py .
ln -s ../nova_slovnica/python/scripts/translate_jos.py . ln -s ../nova_slovnica/python/scripts/translate_jos.py .