Docker, Cask, Ecukes
Install cask to a vm because it's an ares to install in windows.
Ultimately, you end up with a box with emacs & cask installed. It is able to run cask tasks.
On the windows machine
Start the vm that can run docker natively.
Function Docker-SSH {
docker-machine start 'docker-machine-vm'
docker-machine env 'docker-machine-vm' | Invoke-Expression
docker-machine ssh 'docker-machine-vm'
};
Docker-SSH;
But it's my first time
Running docker-machine for the first time requires creating the vm for docker to run on, ie. docker-machine-vm
docker-machine create --driver virtualbox 'docker-machine-vm'
Inside the docker-machine-vm
Spin up a debian box
# check that there is ashared folder between windows and the docker-machine-vm ls /c/Users/ # spin up a debian box called debian, with a mounted folder docker run -it debian /bin/bash docker run -it -v /boot2dockerfolder:/root/containerfolder debian /bin/bash docker run -it -v /c/Users/simone/projects:/root/docker-cask-project debian /bin/bash docker run -it -v /c/Users/simon/projects/dojos/:/root/dojos debian /bin/bash
Got it running already,
Just start and attach the docker container be feeding in the latest (-l) container id (-q).
docker start `docker ps -l -q` docker attach `docker ps -l -q`
Inside the docker debian box
apt-get update -y; apt-get install python curl git emacs -y; curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python; export PATH="/root/.cask/bin:$PATH"
Then start following the ecukes ecukes installation setup.
echo '(source melpa) (package "transitive-dependancies" "0.0.1" "Super Duper.") (development (depends-on "ecukes"))' > Cask; cask; # install deps cask exec ecukes new; # gen ecukes project echo '(provide '\''transitive-dependancies)' > transitive-dependancies.el cask exec ecukes --scripts --reporter landing; # run test runner