The scientific-emacs a container-based in Debian:Focal version with emacs 26, and a light version of TeXlive.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

  1. # Readme
  2. This is the version `0.1` of scientific-emacs. This respositry contains the `Dockerfiles` to build the images for `Redis` and `Emacs`.
  3. # Installation
  4. To install the container first refer to the [Docker Installation Guide](https://docs.docker.com/docker-for-windows/install/). After test the **hello worlf of Docker system**, clone this repository within your
  5. *working directory* using:
  6. ```
  7. $ git clone http://gmarx.jumpingcrab.com:8088/mice-rs101/latex-basic.git
  8. ```
  9. Then, it is possible to build the *scientifc-emacs* container by:
  10. ```
  11. $ docker build -t scientific-emacs:0.1 docker/emacs/
  12. ```
  13. To get the ip address
  14. '''
  15. open -a xquartz
  16. ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
  17. xhost + $ip
  18. '''
  19. To run the container
  20. '''
  21. docker run --rm -it -v`pwd`/emacs-config:/root \
  22. -e DISPLAY=$ip:0 \
  23. -v /tmp/.X11-unix:/tmp/.X11-unix \
  24. gmarxcc/scientific-emacs:0.1
  25. '''
  26. the 'emacs-config' folder contains the '.emacs' configuration file
  27. To install:
  28. - aspell
  29. - curl
  30. - wget
  31. - git
  32. - zsh
  33. ## After first run the container
  34. Upgrade texlive to be able to install new packages by :
  35. '''
  36. apt-get upgrade texlive-base
  37. '''
  38. Then, init the user with 'tlmgr init-usertree'. After that you can install new packages using 'tlmgr install package'.