create virtualenv:
python3.10 -m venv semantle-de
source semantle-de/bin/activateinstall requirements
pip install -r requirements.txtDownload Word2Vec and dictionary data:
cd data
wget https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.de.300.vec.gz
gzip -d cc.de.300.vec.gz
wget https://www.winedt.org/dict/German.zip
unzip German.zipsave word2vec in db
cd ..
python process_vecs.py(optional) Regenerate secrets
python generate_secrets.pystart flask/gunicorn (on ssh)
export FLASK_APP=semantle
nohup gunicorn semantle:app &restart after pull
ps aux | grep gunicorn
kill -HUP <guniconr pid>nginx...