-
Notifications
You must be signed in to change notification settings - Fork 129
Getting Started
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.
- Latest Node.js
- Node Package Manager
- 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
- 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
- Install Node Package Manager (
npm
)
curl http://npmjs.org/install.sh | sh
- Install Express.js and Connect (included automatically)
npm install express
- Install Jade
npm install jade
- Starting the server in development mode is as simple as
cd ajaxim-latest
node server/app.js
- Next, initialize a session cookie by going to:
http://localhost:8000/dev/cookie
- Then head over to the development page that will initialize the client:
http://localhost:8000/dev/
- You should see
Hello
. If so, you're done!