Skip to content
endtwist edited this page Dec 30, 2010 · 3 revisions

Installing and setting up Ajax IM is a quick and mostly painless process if you're familiar with the command line. Below, we'll walk through the instructions to install Ajax IM, from getting Node.js setup to running the Ajax IM development environment.

Requirements

  • Latest Node.js
  • Node Package Manager

Installation

  1. Download the latest master of Ajax IM
  wget -O ajaxim-latest.tar.gz https://github.com/endtwist/AjaxIM/tarball/master
  tar xzf ajaxim-latest.tar.gz
  1. Install Node.js
  wget http://nodejs.org/dist/node-latest.tar.gz
  tar xzf node-latest.tar.gz
  cd node-latest
  ./configure
  make
  make install
  1. Install Node Package Manager (npm)
  curl http://npmjs.org/install.sh | sh
  1. Install Express.js and Connect (included automatically)
  npm install express
  1. Install Jade
  npm install jade

Start the server

  1. Starting the server in development mode is as simple as
  cd ajaxim-latest
  node server/app.js
  1. Next, initialize a session cookie by going to:
http://localhost:8000/dev/cookie
  1. Then head over to the development page that will initialize the client:
http://localhost:8000/dev/
  1. You should see Hello. If so, you're done!
Clone this wiki locally