...
Bloc de code |
---|
|
pip3 uninstall h5pp
rm -R /data/www/%userpod%/django_projects/H5PP
rm -R /data/www/%userpod%/django_projects/podv2/pod/static/h5p
rm -R /data/www/%userpod%/django_projects/podv2/pod/media/h5pp |
Installer H5P (deprecated)
...
Pour ma part, j'ai résolu ce problème en positionnant manuellement les fichiers statiques au bon endroit (cela n'est sûrement pas la meilleure méthode, mais cela fonctionne), à savoir :
Bloc de code |
---|
language | bash |
---|
title | Serveur(s) Pod / Copie de fichiers statiques (compte %userpod%) |
---|
|
# Les fichiers statiques sont dans l'environnement virtuel. Il a fallu copier le répertoire h5p :
cp /data/www/%userpod%/.virtualenvs/django_pod/lib/python3.6/site-packages/h5pp/static/h5p /data/www/%userpod%/django_projects/podv2/pod/static/h5p -R |
À penser
Lors des maj, il faut vérifier les fichiers statics
Bloc de code |
---|
language | bash |
---|
title | Serveur(s) Pod / Copie de fichiers statiques (compte %userpod%) |
---|
|
# Les fichiers statiques sont dans l'environnement virtuel. Il a fallu copier le répertoire h5p :
cp /data/www/%userpod%/.virtualenvs/django_pod/lib/python3.6/site-packages/h5pp/static/h5p /data/www/%userpod%/django_projects/podv2/pod/static/h5p -R |