Explain how to clone this repository from https://forge.chapril.org

This commit is contained in:
Gerard Vermeulen 2023-01-03 21:04:52 +01:00
parent 64275f4040
commit 0cffc0488a
1 changed files with 30 additions and 9 deletions

View File

@ -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