...
pod@pod:~$ cd django_projects/podv2/
pod@pod:~/django_projects/podv2$ workon django_pod
(django_pod) pod@pod:~/django_projects/podv2$ git status
(django_pod) pod@pod:~/django_projects/podv2$ git pull origin master
(django_pod) pod@pod:~/django_projects/podv2$ pip3 install -r requirements.txt
(django_pod) pod@pod:~/django_projects/podv2$ sudo /etc/init.d/celeryd restart
Optionnel - Mise à jour d'Opencast Studio
Pour mettre à jour le studio d'Opencast dans votre instance de Esup-Pod, voici les étapes à suivre :
- Rendez-vous dans le dossier opencast-studio/
Récupérer les la dernière version d'Opencast Studio via la commande suivante :
git pull
Régénérez l'Opencast Studio avec la bonne configuration pour Pod via les commandes suivantes :
export
PUBLIC_URL=
/studio
npm
install
npm run build
- Le répertoire build est alors mis à jour. Renommez-le en studio, puis copier le dans le répertoire pod/custom/static/opencast/
mkdir
-p pod
/custom/static/opencast/studio
cp
-r build/* pod
/custom/static/opencast/studio
Finalement, n'oubliez pas de collecter vos fichiers statiques pour la mise en production via la commande :
(django_pod) [userpod@video][
/data/www/userpod/django_projects/podv2
] python manage.py collectstatic