Permalink
Browse files

Update README; remove debris.

  • Loading branch information...
1 parent 43ce1f4 commit 54c36ed2504f553cd2f12d960ddf4ee29f2fb31c @technomancy committed Apr 24, 2010
Showing with 10 additions and 39 deletions.
  1. +10 −7 README.markdown
  2. BIN jars/clojure-contrib.jar
  3. BIN jars/clojure.jar
  4. +0 −24 mire.el
  5. +0 −3 mire.sh
  6. +0 −5 test.sh
View
@@ -2,15 +2,18 @@
It's a nonviolent MUD. (Multi-User Dungeon)
-You can either launch via SLIME by evaling mire.el from within Emacs
-(preferred since it gives you access to the REPL) or by the included
-mire.sh shell script.
+## Usage
-Dependencies (clojure, clojure-contrib) are included, though you will
-need a JVM on your system.
+Install [Leiningen](http://github.com/technomancy/leiningen) if you
+haven't already:
-To connect, simply telnet to port 3333, or hit M-x mire from within
-Emacs if you have used mire.el.
+ $ curl -O ~/bin/lein http://github.com/technomancy/leiningen/raw/stable/bin/lein
+ $ chmod 755 bin/lein
+ $ lein self-install
+
+Then run "lein deps" inside the Mire directory. Once it finishes, you
+should be able to do "lein run" to launch the Mire server. Then
+players can connect by telnetting to port 3333.
Copyright (c) 2009-2010 Phil Hagelberg
Licensed under the same terms as Clojure.
View
Binary file not shown.
View
Binary file not shown.
View
24 mire.el
@@ -1,24 +0,0 @@
-;; For launching Mire from SLIME
-
-(require 'clojure-mode)
-
-(setq mire-dir (file-name-directory
- (or (buffer-file-name) load-file-name))
- swank-clojure-jar-path (concat mire-dir "jars/clojure.jar")
- swank-clojure-extra-classpaths (list (concat mire-dir "jars/clojure-contrib.jar")
- (concat mire-dir "src/")))
-
-(slime)
-
-(find-file (concat mire-dir "src/mire/server.clj"))
-
-(defun mire (arg)
- (interactive "P")
- (if (and (get-buffer "*mire*")
- (not arg))
- (switch-to-buffer "*mire*")
- (telnet "localhost" 3333)
- (rename-buffer "*mire*")))
-
-(global-set-key (kbd "C-c m") 'mire)
-
View
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -cp jars/clojure.jar:jars/clojure-contrib.jar:src/ clojure.main -e "(use 'mire.server) (-main)"
View
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-CLASSPATH=jars/clojure.jar:jars/clojure-contrib.jar:src/
-
-java -cp $CLASSPATH clojure.main src/mire/test/all.clj

0 comments on commit 54c36ed

Please sign in to comment.