顯示具有 nodejs 標籤的文章。 顯示所有文章
顯示具有 nodejs 標籤的文章。 顯示所有文章

2011年4月21日 星期四

Install npm (Package Manager for NodeJS)

git clone git://github.com/isaacs/npm.git ./npm
cd npm
git checkout origin/0.2
curl http://npmjs.org/install.sh | sudo sh

#test
/usr/local/bin/npm install socket.io
Reference: stackoverflow

Install Postgresql Module for NodeJS

sudo apt-get install libpq-dev
git clone https://github.com/ry/node_postgres.git
cd node_postgres
node-waf configure build
Reference: Draco Blue