Update and improve the workflow.

This commit is contained in:
Sergiu Ivanov 2021-10-17 18:52:11 +02:00
parent 153c601944
commit e12cf5c312

View file

@ -11,20 +11,23 @@
8. [ ] News 8. [ ] News
* Workflow * Workflow
1. Load [[file:work.el][=work.el=]]. 1. Load [[file:work.el][work.el]].
#+BEGIN_SRC elisp :results none #+BEGIN_SRC elisp :results none
(load-file "~/Candies/Sites/work/work.el") (load-file "~/Candies/Sites/work/work.el")
#+END_SRC #+END_SRC
2. Open [[file:index.org][=index.org=]] and publish the current project. 2. Open [[file:index.org][index.org]] and publish the current project.
3. Remove all timestamps. 3. Remove all timestamps.
#+BEGIN_SRC elisp :results none #+BEGIN_SRC elisp :results none
(org-publish-remove-all-timestamps) (org-publish-remove-all-timestamps)
#+END_SRC #+END_SRC
4. Reopen [[file:index.org][=index.org=]] and republish the current project to get the 4. Reopen [[file:index.org][index.org]] and republish the current project to get the
updated timestamp. updated timestamp, or run the following snippet:
#+BEGIN_SRC elisp :results silent
(org-publish-project "work-site")
#+END_SRC
5. Go to https://entrepot.ibisc.univ-evry.fr/ and upload the files 5. Go to https://entrepot.ibisc.univ-evry.fr/ and upload the files
and directories from [[file:www/][www/]] to the folder =ivanov-page-perso=. and directories from [[file:www/][www/]] to the folder =ivanov-page-perso=.
@ -33,6 +36,15 @@
=prénom.nom@ibisc.univ-evry.fr=, and the password is the same one =prénom.nom@ibisc.univ-evry.fr=, and the password is the same one
as for the Intranet IBISC. Detailed information [[https://intranet.ibisc.univ-evry.fr/projects/intranet/wiki/Entrep%C3%B4t_de_fichiers_Installation][here]]. as for the Intranet IBISC. Detailed information [[https://intranet.ibisc.univ-evry.fr/projects/intranet/wiki/Entrep%C3%B4t_de_fichiers_Installation][here]].
The following source code block is a shortcut for reloading the
configuration, removing the timestamps, and publishing the
whole site.
#+BEGIN_SRC elisp :results silent
(load-file "~/Candies/Sites/work/work.el")
(org-publish-remove-all-timestamps)
(org-publish-project "work-site")
#+END_SRC
* Seafile problem <2020-02-17 Mon> :old: * Seafile problem <2020-02-17 Mon> :old:
** Problem ** Problem
After another update, Seafile started telling me this when I tried After another update, Seafile started telling me this when I tried