This is the version `0.1` of scientific-emacs. This respositry contains the `Dockerfiles` to build the images for `Redis` and `Emacs`.
# Installation
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
*working directory* using:
To install the Docker System first refer to the [Docker Installation Guide](https://docs.docker.com/docker-for-windows/install/). After test `docker run hello-world`.
Then, you are redy clone this repository within your *working directory* using:
`docker run --rm -it gmarxcc/scientific-emacs:0.1`
4. Run an Ubuntu command like `ls`
Run the container to test it:
```
docker run --rm -it gmarxcc/scientific-emacs:0.1`
```
and run an Ubuntu command like `ls`
Done, you are doing great!
# Executing emacs
## On Macos
To get the ip address
'''
open -a xquartz
@ -38,15 +37,64 @@ xhost + $ip
To run the container
'''
```
docker run --rm -it -v`pwd`/emacs-config:/root \
-e DISPLAY=$ip:0 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
gmarxcc/scientific-emacs:0.1
'''
```
the 'emacs-config' folder contains the '.emacs' configuration file
## On windows
### Open VcXsrv
Firts open or [install *VcXsrv Windows X Server*](https://sourceforge.net/projects/vcxsrv/). When *VcXsrv Windows X Server* is open make sure to have selected as follow the **extra settings**. Check all options as below and finish configuration.