Created
July 27, 2013 12:52
-
-
Save philippkueng/6094789 to your computer and use it in GitHub Desktop.
A recipe to create a vagrant box image with the newest Emacs 24, nrepl and Leiningen for Cascalog development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install openjdk-6-jdk python-software-properties -y | |
wget --no-check-certificate https://raw.github.com/technomancy/leiningen/stable/bin/lein | |
sudo mv lein /bin/lein | |
sudo chmod 755 /bin/lein | |
lein -h # to fetch all dependencies | |
sudo apt-add-repository ppa:cassou/emacs | |
sudo apt-get update | |
sudo apt-get install emacs24 -y | |
# Scratch Pad Ctrl+x Ctrl+b | |
# (require 'package) | |
# (add-to-list 'package-archives | |
# '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
# (package-initialize) | |
vagrant package default --output emacs-vagrant.box | |
vagrant box add emacs-vagrant emacs-vagrant.box | |
mkdir test_dir && cd test_dir | |
vagrant init | |
# change name config.vm.box to "emacs-vagrant" | |
vagrant up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.synced_folder ".", "/vagrant" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment