1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diacamma_ynh.git synced 2024-09-03 18:26:10 +02:00
This commit is contained in:
Laurent Gay 2023-12-12 10:55:14 +01:00
parent ce0dfa438f
commit 105e971d72

View file

@ -24,9 +24,10 @@ then
fi fi
python3 -m venv venv python3 -m venv venv
venv/bin/pip3 install -U lucterios lucterios-standard lucterios-contacts lucterios-documents diacamma-asso diacamma-syndic diacamma-financial gunicorn psycopg2-binary psycopg2 venv/bin/pip3 install -U lucterios lucterios-standard lucterios-contacts lucterios-documents diacamma-asso diacamma-syndic diacamma-financial gunicorn psycopg2-binary psycopg2
venv/bin/python3 -m lucterios.install.lucterios_admin add -n ${app} -p $APPLITYPE -m $MODULES -d $DATABASE -e '{}' . venv/bin/activate
python3 lucterios_admin.py add -n ${app} -p $APPLITYPE -m $MODULES -d $DATABASE -e '{"LANGUAGES":"'${language}'"}'
venv/bin/python3 manage_${app}.py collectstatic --noinput -l python3 manage_${app}.py collectstatic --noinput -l
rm -rf ${app}/static/static rm -rf ${app}/static/static
rm -rf ${app}/static/plugins rm -rf ${app}/static/plugins
rm -rf ${app}/static/tmp rm -rf ${app}/static/tmp