Skip to content
abedra edited this page May 4, 2011 · 8 revisions

Getting Started

If you don't know Emacs, you may want to pick one of the choices above. The learning curve here is steep.

  • Make sure you have Java installed.
  • Make sure you have leiningen installed.
  • Clone the labrepl project and change directory into it.
  • Run lein deps to install all the dependent libraries.
  • If they exist, move your .emacs and .emacs.d out of the way.
  • Create the .emacs.d directory and download the Emacs Starter Kit:
    • mkdir ~/.emacs.d
    • cd ~/.emacs.d
    • git clone http://github.com/technomancy/emacs-starter-kit.git
  • Launch Emacs with the starter kit emacs -l ~/.emacs.d/emacs-starter-kit/init.el
  • Within Emacs run ELPA M-x package-list-packages, go to the following packages and press i to select:
    • clojure-mode
    • slime
    • swank-clojure
  • Once the three packages are selected press x to install them. Close Emacs when the installation completes.
  • From a terminal in the labrepl directory run the swank process: script/swank
  • Run Emacs again emacs -l ~/.emacs.d/emacs-starter-kit/init.el
  • Connect to the running clojure image M-x slime-connect accepting the defaults.
Clone this wiki locally