category: PostgreSQL

PgREST - build note

on 2014-04-24

PgREST - build note

GitHub

This is Mac OS X build

install PostgreSQL

postgres.app PostgreSQL Tutorial

  1. set PATH in shell(.bashrc, .zshrc, …)
PATH="/Applications/Postgres.app/Contents/Versions/9.3/bin:$PATH"
  1. create the plv8 extension
-> psql -U Ted_Shiu -c "create extension plv8"
CREATE EXTENSION

install PgREST(Must install node.js before)

npm i -g pgrest

Refer - PgREST: Node.js in the Database