Home

raa0121 edited this page Aug 28, 2012 · 22 revisions

Welcome to the cloft wiki!

A Japanese wiki page about ujm server which uses cloft http://www47.atwiki.jp/tukushigamo/pages/17.html

How to install

  1. (Install Java unless you have)

  2. Install Clojure

  3. Install Leiningen

    $ git clone https://github.com/technomancy/leiningen.git
    $ cd leiningen
    $ git checkout -b 1.x origin/1.x
    $ ./bin/lein self-install
    $ echo export PATH=${PWD}/bin:${PATH} >> ~/.bashrc
    
  4. Build zeromq

    • Gentoo, ArchLinux, and Ubuntu have zeromq packages.
    • if no package in your distribution, try installing with the following instruction.
    $ wget http://download.zeromq.org/zeromq-2.2.0.tar.gz
    $ tar xvzf zeromq-2.2.0.tar.gz
    $ cd zeromq-2.2.0
    $ ./configure
    $ make
    $ sudo make install
    
  5. Build jzmq

    • ArchLinux have zeromq libraries for java (jzmq-git in AUR. Use yaourt.) (after installing it, you may have /usr/share/java/zmq/zmq.jar).
    • if no package in your distribution, try installing with the following instruction.
    $ git clone https://github.com/zeromq/jzmq
    $ cd jzmq
    $ git checkout v1.0.0
    $ ./configure
    $ make
    $ mkdir -p ~/.m2/repository/org/zmq/jzmq/1.0.0
    $ cp src/zmq.jar ~/.m2/repository/org/zmq/jzmq/1.0.0/jzmq-1.0.0.jar
    
  6. Build cloft

    $ git clone https://github.com/ujihisa/cloft.git
    $ cd cloft
    $ lein uberjar
    
  7. Install cloft

    $ mkdir ~/craftbukkit/plugins
    $ cp ~/cloft/cloft-1.0.0-SNAPSHOT-standalone.jar ~/craftbukkit/plugins