Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noblesamurai/node_postgres
Old deprecated node.js postgres driver
https://github.com/noblesamurai/node_postgres
Last synced: about 1 month ago
JSON representation
Old deprecated node.js postgres driver
- Host: GitHub
- URL: https://github.com/noblesamurai/node_postgres
- Owner: noblesamurai
- License: mit
- Created: 2013-09-26T05:32:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-26T05:32:55.000Z (over 11 years ago)
- Last Synced: 2023-03-11T05:29:48.563Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE-MIT
Awesome Lists containing this project
README
At the moment this is an experiemental project. Grab the latest node (39e6d95
or better) and donode-waf configure build
h2. Getting Started
You'll need postgres to run this. Here's the easy way to do this locally:
wget http://wwwmaster.postgresql.org/redir/198/h/source/v8.4.2/postgresql-8.4.2.tar.gz
tar -zxf postgresql-8.4.2.tar.gz
cd postgresql-8.4.2
./configure --prefix=$HOME/local/postgres-8.4.2 && make && make install
cd $HOME/local/postgres-8.4.2
bin/initdb ./data
bin/postgres -D ./dataYou'll probably want to add $HOME/local/postgres-8.4.2/bin to your PATH
environment variable.
export PATH=$HOME/local/postgres-8.4.2/bin:$PATHAnd puts few things into the database
createdb test
echo "CREATE TABLE test (a int, b int); INSERT INTO test VALUES (1, 2);" | psql -d testcd ~/src/node_postgres
node-waf configure
node-waf build
node test.js