aptitude install git redis-server mongodb
Note: Redis is used to store the sessions. Minimal required version is 2.2. So on debian sqeeze you have to activate and use backports:
-
Add the following line to /etc/apt/sources.list:
deb http://backports.debian.org/debian-backports squeeze-backports main
-
Update your local package lists:
sudo aptitude update
-
Install redis-server with:
sudo aptitude -t squeeze-backports install redis-server
See following installation procedure : https://github.com/joyent/node/wiki/Installation
cd ~/local/var/lib
git clone [email protected]:ncarlier/lba.git
git submodule init
cd lba
make
#!/bin/sh
# Optional ENV (default: development)
export NODE_ENV=production
# Optional PORT (default: 8081)
export APP_PORT=8081
node app.js 2>&1 >> bm.log
#!/bin/sh
vmc env-add lba NODE_ENV=production
make deploy