From 0cffc0488ad9583ad7ea4f42d47aca0cda8c8da3 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Tue, 3 Jan 2023 21:04:52 +0100 Subject: [PATCH] Explain how to clone this repository from https://forge.chapril.org --- README.org | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 1bd2ccf..51400b6 100644 --- a/README.org +++ b/README.org @@ -38,18 +38,39 @@ the section entitled "GNU Free Documentation License". :CUSTOM_ID: sec:quick-start :END: -Backup your =user-emacs-directory= (defaults often to =~/.emacs.d= on =Linux=, -=Unix=, or =Darwin=) directory and execute the commands in listing -[[lst:prepare-user-emacs-directory]]. After invoking Emacs interactively (in -interactive mode, neither in batch mode, nor in server mode), Emacs will ask you -to install a selected set of packages. Quit Emacs and invoke Emacs again. +Backup the =user-emacs-directory= (defaults often to =~/.emacs.d= on =Linux=, +=Unix=, or =Darwin=) and execute the commands in listing [[lst:prepare-user-emacs-directory-with-https][prepare the +=user-emacs-directory= without =ssh= access]] or in listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the +=user-emacs-directory= with =ssh= access]]. After invoking Emacs interactively +(in interactive mode, neither in batch mode, nor in server mode), Emacs will ask +you to install a selected set of packages. Quit Emacs and invoke Emacs again. -#+caption[Prepare the user-emacs-directory]: -#+caption: Clone and initialize the user-emacs-directory. -#+name: lst:prepare-user-emacs-directory +# #+caption[Prepare the user-emacs-directory]: +# #+caption: Clone and initialize the user-emacs-directory. +# #+name: lst:prepare-user-emacs-directory +# #+begin_src shell :noeval :tangle no +# cd ~ +# git clone ccdr@mercury.grenoble.cnrs.fr:SERVER/emacs.d.git .emacs.d +# make --directory=.emacs.d init +# emacs & +# #+end_src + +#+caption[Prepare the user-emacs-directory without =ssh= access]: +#+caption: Clone and initialize the user-emacs-directory without =ssh= access. +#+name: lst:prepare-user-emacs-directory-with-https #+begin_src shell :noeval :tangle no cd ~ -git clone ccdr@mercury.grenoble.cnrs.fr:SERVER/emacs.d.git .emacs.d +git clone https://forge.chapril.org/gav451/emacs.d.git +make --directory=.emacs.d init +emacs & +#+end_src + +#+caption[Prepare the =user-emacs-directory= with =ssh= access]: +#+caption: Clone and initialize the user-emacs-directory with =ssh= access. +#+name: lst:prepare-user-emacs-directory-with-ssh +#+begin_src shell :noeval :tangle no +cd ~ +git clone ssh://gitea@forge.chapril.org:222/gav451/emacs.d.git make --directory=.emacs.d init emacs & #+end_src