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 11:58:14 +01:00
parent 4110cac5d4
commit e8998d2f54
2 changed files with 4 additions and 3 deletions

View file

@ -57,7 +57,7 @@ ram.runtime = "50M"
ask.en = "Choose the application language" ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application" ask.fr = "Choisissez la langue de l'application"
type = "select" type = "select"
choices = ["en","fr"] choices = ["fr","en"]
[resources] [resources]
# See the packaging documentation for the full set # See the packaging documentation for the full set

View file

@ -14,8 +14,9 @@ python3 -m venv venv
pip3 install -U lucterios lucterios-standard lucterios-contacts lucterios-documents pip3 install -U lucterios lucterios-standard lucterios-contacts lucterios-documents
pip3 install -U diacamma-asso diacamma-syndic diacamma-financial pip3 install -U diacamma-asso diacamma-syndic diacamma-financial
pip3 install -U gunicorn psycopg2-binary psycopg2 pip3 install -U gunicorn psycopg2-binary psycopg2
echo "PYTHONPATH=$PYTHONPATH" ynh_script_progression --message=" >> PYTHONPATH=$PYTHONPATH"
ls -l $install_dir/venv/ ls -l $install_dir/venv/lib/python3.8/site-packages/lucterios
ls -l $install_dir/venv/lib/python3.8/site-packages/diacamma
lucterios_admin.py installed lucterios_admin.py installed
lucterios_admin.py add -n ${app} -p "${APPLITYPE}" -m "${MODULES}" -d "${DATABASE}" -e '{"LANGUAGES":"'${language}'"}' lucterios_admin.py add -n ${app} -p "${APPLITYPE}" -m "${MODULES}" -d "${DATABASE}" -e '{"LANGUAGES":"'${language}'"}'